Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:steffens:branches:Application:Geo:qgis
grass
upstream-issue-3331-floats2.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File upstream-issue-3331-floats2.patch of Package grass
Index: ./lib/python/ctypes/ctypesgencore/parser/pplexer.py =================================================================== --- a/lib/python/ctypes/ctypesgencore/parser/pplexer.py (revision 71189) +++ b/lib/python/ctypes/ctypesgencore/parser/pplexer.py (working copy) @@ -52,7 +52,7 @@ 'L': '[a-zA-Z_]', 'H': '[a-fA-F0-9]', 'E': '[Ee][+-]?\s*{D}+', - 'FS': '[FflL]', + 'FS': '([FfLl]|d[dfl]|D[DFL]|[fFdD][0-9]+x?)', 'IS': '[uUlL]*', } # Helper: substitute {foo} with subs[foo] in string (makes regexes more lexy) @@ -226,10 +226,10 @@ exp = m.group("exp") suf = m.group("suf") - if dp or exp or (suf and suf in ("Ff")): + if dp or exp or (suf and suf not in ("Ll")): s = m.group(0) if suf: - s = s[:-1] + s = s[:-len(suf)] # Attach a prefix so the parser can figure out if should become an # integer, float, or long t.value = "f" + s
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor