svn commit: r229101 - stable/9/sys/dev/aic7xxx/aicasm
Dimitry Andric
dim at FreeBSD.org
Sat Dec 31 14:34:08 UTC 2011
Author: dim
Date: Sat Dec 31 14:34:07 2011
New Revision: 229101
URL: http://svn.freebsd.org/changeset/base/229101
Log:
MFC r228556:
Add "%option noinput" to aicasm_scan.l and aicasm_macro_scan.l, so no
unneeded input functions will be emitted.
Spotted by: arundel
Modified:
stable/9/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l
stable/9/sys/dev/aic7xxx/aicasm/aicasm_scan.l
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l
==============================================================================
--- stable/9/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l Sat Dec 31 14:33:15 2011 (r229100)
+++ stable/9/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l Sat Dec 31 14:34:07 2011 (r229101)
@@ -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]+
Modified: stable/9/sys/dev/aic7xxx/aicasm/aicasm_scan.l
==============================================================================
--- stable/9/sys/dev/aic7xxx/aicasm/aicasm_scan.l Sat Dec 31 14:33:15 2011 (r229100)
+++ stable/9/sys/dev/aic7xxx/aicasm/aicasm_scan.l Sat Dec 31 14:34:07 2011 (r229101)
@@ -72,6 +72,8 @@ extern void mm_switch_to_buffer(YY_BUFFE
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]+
More information about the svn-src-stable-9
mailing list