comparison libinterp/parse-tree/lex.ll @ 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 2fd39ab12209
children 10abbc493f50
comparison
equal deleted inserted replaced
16145:edddf8903f15 16146:b6050fc0a2d9
19 <http://www.gnu.org/licenses/>. 19 <http://www.gnu.org/licenses/>.
20 20
21 */ 21 */
22 22
23 %option prefix = "octave_" 23 %option prefix = "octave_"
24 %option noyywrap
24 25
25 %top { 26 %top {
26 #ifdef HAVE_CONFIG_H 27 #ifdef HAVE_CONFIG_H
27 #include <config.h> 28 #include <config.h>
28 #endif 29 #endif
1112 1113
1113 case 127: 1114 case 127:
1114 std::cerr << "DEL"; 1115 std::cerr << "DEL";
1115 break; 1116 break;
1116 } 1117 }
1117 }
1118
1119 // Include these so that we don't have to link to libfl.a.
1120
1121 int
1122 yywrap (void)
1123 {
1124 return 1;
1125 } 1118 }
1126 1119
1127 // Tell us all what the current buffer is. 1120 // Tell us all what the current buffer is.
1128 1121
1129 YY_BUFFER_STATE 1122 YY_BUFFER_STATE