[Pcsclite-cvs-commit] r1688 - trunk/PCSC/src
Ludovic Rousseau
rousseau at costa.debian.org
Tue Oct 18 12:36:12 UTC 2005
Author: rousseau
Date: 2005-10-18 12:36:11 +0000 (Tue, 18 Oct 2005)
New Revision: 1688
Modified:
trunk/PCSC/src/configfile.l
trunk/PCSC/src/tokenparser.l
Log:
use %option noyywrap so we do not use yywrap() and do have to link with
flex lib
See http://www.gnu.org/software/flex/manual/html_node/flex_17.html
Thanks to Toni Andjelkovic for the patch
Modified: trunk/PCSC/src/configfile.l
===================================================================
--- trunk/PCSC/src/configfile.l 2005-10-18 06:21:54 UTC (rev 1687)
+++ trunk/PCSC/src/configfile.l 2005-10-18 12:36:11 UTC (rev 1688)
@@ -34,6 +34,7 @@
%}
%option nounput
+%option noyywrap
%%
Modified: trunk/PCSC/src/tokenparser.l
===================================================================
--- trunk/PCSC/src/tokenparser.l 2005-10-18 06:21:54 UTC (rev 1687)
+++ trunk/PCSC/src/tokenparser.l 2005-10-18 12:36:11 UTC (rev 1688)
@@ -35,6 +35,7 @@
%}
%option nounput
+%option noyywrap
%%
@@ -47,12 +48,6 @@
%%
-int yywrap(void)
-{
- return 1;
-}
-
-
void tpevalToken(char *pcToken, int tokType)
{
int len;
More information about the Pcsclite-cvs-commit
mailing list