Don't allow negative integer offsets for now.

This commit is contained in:
Aldo Cortesi 2012-08-17 10:08:02 +12:00
parent 13cb0cab90
commit 95968ad558

View File

@ -113,7 +113,8 @@ DATATYPES = dict(
)
v_integer = pp.Regex(r"[+-]?\d+")\
#v_integer = pp.Regex(r"[+-]?\d+")\
v_integer = pp.Regex(r"\d+")\
.setName("integer")\
.setParseAction(lambda toks: int(toks[0]))