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]+
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to