summaryrefslogtreecommitdiffstats
path: root/sys/dev/aic7xxx
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-12-16 00:04:28 +0000
committerdim <dim@FreeBSD.org>2011-12-16 00:04:28 +0000
commitf994f57e3f05f908e797902565549994b42c724c (patch)
treec32f9568d89202106578300e78c52be9a090dfc3 /sys/dev/aic7xxx
parent8961209ca3de731aab12c5aa523e15e6b448c45c (diff)
downloadFreeBSD-src-f994f57e3f05f908e797902565549994b42c724c.zip
FreeBSD-src-f994f57e3f05f908e797902565549994b42c724c.tar.gz
Add "%option noinput" to aicasm_scan.l and aicasm_macro_scan.l, so no
unneeded input functions will be emitted. Spotted by: arundel MFC after: 1 week
Diffstat (limited to 'sys/dev/aic7xxx')
-rw-r--r--sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l2
-rw-r--r--sys/dev/aic7xxx/aicasm/aicasm_scan.l2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l b/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l
index ac14c12..03fb6b4 100644
--- a/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l
+++ b/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l
@@ -66,6 +66,8 @@ static char msgbuf[255];
extern int mmlex(void);
%}
+%option noinput
+
WORD [A-Za-z_][-A-Za-z_0-9]*
SPACE [ \t]+
MCARG [^(), \t]+
diff --git a/sys/dev/aic7xxx/aicasm/aicasm_scan.l b/sys/dev/aic7xxx/aicasm/aicasm_scan.l
index acc74a4..45da98f 100644
--- a/sys/dev/aic7xxx/aicasm/aicasm_scan.l
+++ b/sys/dev/aic7xxx/aicasm/aicasm_scan.l
@@ -72,6 +72,8 @@ extern void mm_switch_to_buffer(YY_BUFFER_STATE);
extern void mm_delete_buffer(YY_BUFFER_STATE);
%}
+%option noinput
+
PATH ([/]*[-A-Za-z0-9_.])+
WORD [A-Za-z_][-A-Za-z_0-9]*
SPACE [ \t]+
OpenPOWER on IntegriCloud