Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2011 00:04:28 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228556 - head/sys/dev/aic7xxx/aicasm
Message-ID:  <201112160004.pBG04SXc076826@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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]+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112160004.pBG04SXc076826>