Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Commit

Permalink
for I shall commit XV
Browse files Browse the repository at this point in the history
  • Loading branch information
vlasmirnov committed May 1, 2012
1 parent f60dd0c commit 46e7246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/github/cglong/Grammartizer/ProgramReader.java
Expand Up @@ -37,7 +37,7 @@ private void inputCrunch(String s)
String w1 = s.substring(0, a+1);
if(w1.matches("[0-9]*"))
inputtokens.add(INTNUM);
else if(w1.matches("[a-z]|[A-Z]*"))
else if(w1.matches("([a-z]|[A-Z])*"))
inputtokens.add(ID);
else{
for(Terminal t : terminals)
Expand Down

0 comments on commit 46e7246

Please sign in to comment.