From 152a4000c4ef8594b7f33c7c88ef1608f98d2166 Mon Sep 17 00:00:00 2001 From: Michael Leuschel <leuschel@uni-duesseldorf.de> Date: Thu, 31 Mar 2022 11:43:53 +0200 Subject: [PATCH] add comment Signed-off-by: Michael Leuschel <leuschel@uni-duesseldorf.de> --- src/main/resources/org/sablecc/sablecc/lexer.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/resources/org/sablecc/sablecc/lexer.txt b/src/main/resources/org/sablecc/sablecc/lexer.txt index d654915..776e506 100644 --- a/src/main/resources/org/sablecc/sablecc/lexer.txt +++ b/src/main/resources/org/sablecc/sablecc/lexer.txt @@ -175,6 +175,8 @@ public class Lexer implements ITokenListContainer int low = 0; int high = tmp1.length - 1; + // find next DFA state depending on character c + // an entry {Low, Up, Id} -> means if Low <= c <= Up -> goto state Id while(low <= high) { int middle = (low + high) / 2; @@ -194,7 +196,7 @@ public class Lexer implements ITokenListContainer break; } } - }while(dfa_state < -1); + } while(dfa_state < -1); } else { -- GitLab