tweaks on comments

This commit is contained in:
Terence Parr 2012-10-29 12:47:09 -07:00
parent f554a2ed4f
commit 72c1fc8f6d
2 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,7 @@ October 29, 2012
* Sam fixes nongreedy more.
* -Werror added.
* Sam made speed improvement re preds in lexer.
October 20, 2012

View File

@ -682,6 +682,10 @@ public class LexerATNSimulator extends ATNSimulator {
* DFA should be omitted. The target DFAState is still created since
* execATN has the ability to resynchronize with the DFA state cache
* following the predicate evaluation step.
*
* TJP notes: next time through the DFA, we see a pred again and eval.
* If that gets us to a previously created (but dangling) DFA
* state, we can continue in pure DFA mode from there.
*/
boolean suppressEdge = q.hasSemanticContext;
q.hasSemanticContext = false;