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:
parent
7a692f29c2
commit
487d088e4e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228556
@ -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]+
|
||||
|
@ -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]+
|
||||
|
Loading…
Reference in New Issue
Block a user