summaryrefslogtreecommitdiffstats
path: root/contrib/bind/bin/nslookup/commands.l
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bind/bin/nslookup/commands.l')
-rw-r--r--contrib/bind/bin/nslookup/commands.l7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/bind/bin/nslookup/commands.l b/contrib/bind/bin/nslookup/commands.l
index d132863..a23c44b 100644
--- a/contrib/bind/bin/nslookup/commands.l
+++ b/contrib/bind/bin/nslookup/commands.l
@@ -98,6 +98,7 @@ static char sccsid[] = "@(#)commands.l 5.13 (Berkeley) 7/24/90";
#include <netinet/in.h>
#include <histedit.h>
#include "port_after.h"
+#include <resolv.h>
#include "res.h"
extern char rootServerName[];
@@ -160,9 +161,9 @@ nslookup_yy_input(buf, result, max_size, intr)
%}
WS [ \t]
-FLET [A-Za-z0-9.*\\_]
-LET [A-Za-z0-9.*_]
-NAME [A-Za-z0-9.*=_/-]
+FLET [:A-Za-z0-9.*\\_]
+LET [:A-Za-z0-9.*_]
+NAME [:A-Za-z0-9.*=_/-]
%%
^{WS}*server{WS}+{LET}{NAME}*{WS}*$ {
/*
OpenPOWER on IntegriCloud