1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00

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
This commit is contained in:
Dimitry Andric 2011-12-16 00:04:28 +00:00
parent 7a692f29c2
commit 487d088e4e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228556
2 changed files with 4 additions and 0 deletions

View File

@ -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]+

View File

@ -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]+