소스 검색

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 8 년 전
부모
커밋
b9d19e115a
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      lib/python/ctypes/ctypesgencore/parser/lextab.py
  2. 1 1
      lib/python/ctypes/ctypesgencore/parser/pplexer.py

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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)