20 lines
703 B
Diff
20 lines
703 B
Diff
|
--- java_cup-0.11a/src/java_cup/runtime/lr_parser.java 2006-03-28 13:34:52.000000000 +0200
|
||
|
+++ java_cup-0.11a/src/java_cup/runtime/lr_parser.java-gil 2009-03-23 01:32:51.000000000 +0100
|
||
|
@@ -121,6 +121,7 @@
|
||
|
* Simple constructor.
|
||
|
*/
|
||
|
public lr_parser() {
|
||
|
+ symbolFactory = new DefaultSymbolFactory();
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
@@ -133,7 +134,7 @@
|
||
|
* Constructor that sets the default scanner and a SymbolFactory
|
||
|
*/
|
||
|
public lr_parser(Scanner s, SymbolFactory symfac) {
|
||
|
- this(); // in case default constructor someday does something
|
||
|
+ //this(); // in case default constructor someday does something
|
||
|
symbolFactory = symfac;
|
||
|
setScanner(s);
|
||
|
}
|