aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/ragel6/patches/support-joinsrcs.patch
blob: e7afe63e731c79f7445fa9774f8649c03791622b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- a/javacodegen.cpp
+++ b/javacodegen.cpp
@@ -1681,4 +1681,8 @@ ostream &JavaTabCodeGen::source_error( const InputLoc &loc )
 	return cerr;
 }
 
-
+#undef _resume
+#undef _again
+#undef _eof_trans
+#undef _test_eof
+#undef _out
--- a/rlscan.h
+++ b/rlscan.h
@@ -33,7 +33,7 @@
 using std::istream;
 using std::ostream;
 
-extern char *Parser_lelNames[];
+extern const char *Parser_lelNames[];
 
 struct Scanner
 {