Labels can contain the period character. This makes translating LLVM label names easier.

This commit is contained in:
cdkerse
2013-06-11 16:26:53 -06:00
parent 4feb7ce328
commit 1511c9c4e5

View File

@@ -37,7 +37,7 @@ using namespace HarpTools;
%start DEFARGS PERMARGS WORDARGS STRINGARGS ALIGNARGS EMPTYARGS INSTARGS
%start EATCOLON
sym [A-Za-z_][A-Za-z0-9_]*
sym [A-Za-z_.][A-Za-z0-9_.]*
decnum [1-9][0-9]*
hexnum 0x[0-9a-f]+
octnum 0[0-9]*