summaryrefslogtreecommitdiff
path: root/meta/packages/flex/files/fix-gen.patch
blob: 55f4f6fdf52d1c9f0430514e2a4083f1e02e04b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- flex-2.5.31/gen.c~fix-gen
+++ flex-2.5.31/gen.c
@@ -1812,8 +1812,7 @@
 			if (yytext_is_array) {
 				if (!reentrant){
     				indent_puts ("static int yy_more_offset = 0;");
-                }else{
-                    indent_puts ("static int yy_prev_more_offset = 0;");
+                                indent_puts ("static int yy_prev_more_offset = 0;");
                 }
 			}
 			else if (!reentrant) {