Skip to content

Commit

Permalink
fix meta example language to allow the "0" literal
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf committed May 28, 2016
1 parent 590f9f5 commit d530b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/meta/generator/parse.py
Expand Up @@ -77,7 +77,7 @@ def addShogunTypes(self, dictionary):
'string': 'BASICTYPE'
}

t_NUMERAL = "([1-9][0-9]*(\.[0-9]+)?)|0\.[0-9]+"
t_NUMERAL = "[0-9]+(\.[0-9]+)?
t_STRINGLITERAL = '"[^"\n]*"'
t_COMMA = ","
t_DOT = "\."
Expand Down

0 comments on commit d530b28

Please sign in to comment.