浏览代码

python ctypesgencore: partial revert of https://trac.osgeo.org/grass/changeset/71196 - float1.diff (trac https://trac.osgeo.org/grass/ticket/3331)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71213 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 7 年之前
父节点
当前提交
b9d19e115a

文件差异内容过多而无法显示
+ 1 - 1
lib/python/ctypes/ctypesgencore/parser/lextab.py


+ 1 - 1
lib/python/ctypes/ctypesgencore/parser/pplexer.py

@@ -240,7 +240,7 @@ def t_ANY_float(t):
 
     return t
 
-INT_LITERAL = sub(r"(?P<p1>(?:0x{H}+)|(?:0[0-7]+)|(?:[1-9]{D}+))(?P<suf>{IS})")
+INT_LITERAL = sub(r"(?P<p1>(?:0x{H}+)|(?:{D}+))(?P<suf>{IS})")
 
 
 @TOKEN(INT_LITERAL)