changeset 16146:b6050fc0a2d9

use %option noyywrap * lex.ll (yywrap): Delete. Use %option noyywrap instead.
author John W. Eaton <jwe@octave.org>
date Wed, 27 Feb 2013 16:06:03 -0500
parents edddf8903f15
children ed8ce5da525f
files libinterp/parse-tree/lex.ll
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.ll	Wed Feb 27 16:05:59 2013 -0500
+++ b/libinterp/parse-tree/lex.ll	Wed Feb 27 16:06:03 2013 -0500
@@ -21,6 +21,7 @@
 */
 
 %option prefix = "octave_"
+%option noyywrap
 
 %top {
 #ifdef HAVE_CONFIG_H
@@ -1116,14 +1117,6 @@
       }
 }
 
-// Include these so that we don't have to link to libfl.a.
-
-int
-yywrap (void)
-{
-  return 1;
-}
-
 // Tell us all what the current buffer is.
 
 YY_BUFFER_STATE