Skip to content

Commit

Permalink
add decimal to base identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
olagrottvik committed May 10, 2017
1 parent 6c387a6 commit 9cbc1a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions vhdlparser/VhdlParserTokenManager.cc
Expand Up @@ -3061,7 +3061,7 @@ int VhdlParserTokenManager::jjMoveNfa_0(int startState, int curPos){
kind = 167;
{ jjCheckNAddTwoStates(12, 13); }
}
if ((0x100800401008004ULL & l) != 0L)
if ((0x100801401008014ULL & l) != 0L)
jjstateSet[jjnewStateCnt++] = 22;
break;
case 4:
Expand Down Expand Up @@ -3108,7 +3108,7 @@ int VhdlParserTokenManager::jjMoveNfa_0(int startState, int curPos){
{ jjCheckNAdd(20); }
break;
case 21:
if ((0x100800401008004ULL & l) != 0L)
if ((0x100801401008014ULL & l) != 0L)
jjstateSet[jjnewStateCnt++] = 22;
break;
case 23:
Expand Down
2 changes: 1 addition & 1 deletion vhdlparser/vhdlparser.jj
Expand Up @@ -305,7 +305,7 @@ TOKEN:
| < #LETTER: (<UPPER_CASE_LETTER>|<LOWER_CASE_LETTER>) >
| < #UPPER_CASE_LETTER: ["A"-"Z"] >
| <BIT_STRING_LITERAL : (<DIGIT>)*<BASE_SPECIFIER>["\""](<LETTER_OR_DIGIT_OR_STD>((["_"])*<LETTER_OR_DIGIT_OR_STD>)*)["\""] >
| <#BASE_SPECIFIER:["B","O","X","b","o","x"]>
| <#BASE_SPECIFIER:["B","O","X","b","o","x","d","D"]>
| <#STD_LOGIC:["0","1","L","H","X","Z","W","-","l","h","x","z","w"]>
| < #DIGIT: ["0"-"9"] >
| < #SPECIAL_CHARACTER: ["#","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","_","|"] >
Expand Down

0 comments on commit 9cbc1a0

Please sign in to comment.