Skip to content

Commit bc8bb78

Browse files
committed
(example) Build parser with LALR from LR(0) for Speed
1 parent 01eedb3 commit bc8bb78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CC/JavascriptParser/JSParserGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ private static void create_parser()
585585
gen.PrintProductionRules();
586586

587587
System.Diagnostics.Stopwatch sw = System.Diagnostics.Stopwatch.StartNew();
588-
gen.GenerateLALR();
588+
gen.GenerateLALR2();
589589
var end = sw.ElapsedMilliseconds;
590590
sw.Stop();
591591
Console.WriteLine($"{end.ToString("#,#")}");

0 commit comments

Comments
 (0)