Skip to content

Commit

Permalink
Merge pull request #3222 from karlnapf/develop
Browse files Browse the repository at this point in the history
fix meta example language to allow the "0" literal
  • Loading branch information
karlnapf committed May 28, 2016
2 parents 590f9f5 + f4c1c47 commit d8dcc00
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 d8dcc00

Please sign in to comment.