svn commit: r228556 - head/sys/dev/aic7xxx/aicasm
Dimitry Andric
dim at FreeBSD.org
Fri Dec 16 00:04:29 UTC 2011
Author: dim
Date: Fri Dec 16 00:04:28 2011
New Revision: 228556
URL: http://svn.freebsd.org/changeset/base/228556
Log:
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
Modified:
head/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l
head/sys/dev/aic7xxx/aicasm/aicasm_scan.l
Modified: head/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l
==============================================================================
--- head/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l Fri Dec 16 00:01:19 2011 (r228555)
+++ head/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l Fri Dec 16 00:04:28 2011 (r228556)
@@ -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: head/sys/dev/aic7xxx/aicasm/aicasm_scan.l
==============================================================================
--- head/sys/dev/aic7xxx/aicasm/aicasm_scan.l Fri Dec 16 00:01:19 2011 (r228555)
+++ head/sys/dev/aic7xxx/aicasm/aicasm_scan.l Fri Dec 16 00:04:28 2011 (r228556)
@@ -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-all
mailing list