summaryrefslogtreecommitdiffstats
path: root/vhdlparser
diff options
context:
space:
mode:
authorogre <olagrottvik@gmail.com>2017-05-10 11:00:11 (GMT)
committerogre <olagrottvik@gmail.com>2017-05-10 11:00:11 (GMT)
commit9cbc1a04e584e83d91ff3f7501f38b0a825e1953 (patch)
tree88c3057e61c7a56ff209308b7d7ba17dfaf401b5 /vhdlparser
parent6c387a6be9128ced0b89f6fc75946cd1a85096fb (diff)
downloadDoxygen-9cbc1a04e584e83d91ff3f7501f38b0a825e1953.zip
Doxygen-9cbc1a04e584e83d91ff3f7501f38b0a825e1953.tar.gz
Doxygen-9cbc1a04e584e83d91ff3f7501f38b0a825e1953.tar.bz2
add decimal to base identifier
Diffstat (limited to 'vhdlparser')
-rw-r--r--vhdlparser/VhdlParserTokenManager.cc4
-rw-r--r--vhdlparser/vhdlparser.jj2
2 files changed, 3 insertions, 3 deletions
diff --git a/vhdlparser/VhdlParserTokenManager.cc b/vhdlparser/VhdlParserTokenManager.cc
index 418e076..3fe7456 100644
--- a/vhdlparser/VhdlParserTokenManager.cc
+++ b/vhdlparser/VhdlParserTokenManager.cc
@@ -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:
@@ -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:
diff --git a/vhdlparser/vhdlparser.jj b/vhdlparser/vhdlparser.jj
index 1f85185..d21afe1 100644
--- a/vhdlparser/vhdlparser.jj
+++ b/vhdlparser/vhdlparser.jj
@@ -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: ["#","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","_","|"] >