From 2232ea5101daddfba2e53bb4e07104f298f65a85 Mon Sep 17 00:00:00 2001 From: Terence Parr Date: Mon, 19 Mar 2012 17:50:51 -0700 Subject: [PATCH] was not computing lookahead correctly in _LOOK. It assumed all epsilons were predicates. --- .../org/antlr/v4/runtime/atn/LL1Analyzer.java | 51 ++++++++++--------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/runtime/Java/src/org/antlr/v4/runtime/atn/LL1Analyzer.java b/runtime/Java/src/org/antlr/v4/runtime/atn/LL1Analyzer.java index 28e60f97d..bc9f6735f 100644 --- a/runtime/Java/src/org/antlr/v4/runtime/atn/LL1Analyzer.java +++ b/runtime/Java/src/org/antlr/v4/runtime/atn/LL1Analyzer.java @@ -114,29 +114,34 @@ public class LL1Analyzer { int n = s.getNumberOfTransitions(); for (int i=0; i