|
From: <mil...@us...> - 2008-02-11 16:10:02
|
Revision: 2803
http://selinux.svn.sourceforge.net/selinux/?rev=2803&view=rev
Author: millertc
Date: 2008-02-11 08:10:00 -0800 (Mon, 11 Feb 2008)
Log Message:
-----------
Disable generation of the unused input() function in the lexer.
Quiets a gcc warning that breaks the build for newer versions of flex.
Modified Paths:
--------------
branches/stable/1_0/checkpolicy/policy_scan.l
branches/stable/1_0/libsemanage/src/conf-scan.l
Modified: branches/stable/1_0/checkpolicy/policy_scan.l
===================================================================
--- branches/stable/1_0/checkpolicy/policy_scan.l 2008-02-08 18:10:06 UTC (rev 2802)
+++ branches/stable/1_0/checkpolicy/policy_scan.l 2008-02-11 16:10:00 UTC (rev 2803)
@@ -41,7 +41,7 @@
unsigned int policydb_errors = 0;
%}
-%option nounput
+%option noinput nounput
%array
letter [A-Za-z]
Modified: branches/stable/1_0/libsemanage/src/conf-scan.l
===================================================================
--- branches/stable/1_0/libsemanage/src/conf-scan.l 2008-02-08 18:10:06 UTC (rev 2802)
+++ branches/stable/1_0/libsemanage/src/conf-scan.l 2008-02-11 16:10:00 UTC (rev 2803)
@@ -32,7 +32,7 @@
%}
%option stack prefix="semanage_"
-%option nounput noyy_push_state noyy_pop_state noyy_top_state
+%option noinput nounput noyy_push_state noyy_pop_state noyy_top_state
%x arg
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|