projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de2e9da
)
genxml: mark re strings as raw
author
Dylan Baker
<dylan@pnwbakers.com>
Tue, 31 May 2016 18:33:19 +0000
(11:33 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 31 May 2016 22:09:06 +0000
(15:09 -0700)
This is a correctness issue.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
cc: 12.0 <mesa-stable@lists.freedesktop.org>
src/intel/genxml/gen_pack_header.py
patch
|
blob
|
history
diff --git
a/src/intel/genxml/gen_pack_header.py
b/src/intel/genxml/gen_pack_header.py
index 2a7e26522643b4af5077829ea87e92742229ffd3..8cdb3e3d91d6194d0129234315163dc828c0d4d3 100644
(file)
--- a/
src/intel/genxml/gen_pack_header.py
+++ b/
src/intel/genxml/gen_pack_header.py
@@
-211,8
+211,8
@@
def num_from_str(num_str):
return int(num_str)
class Field(object):
- ufixed_pattern = re.compile("u(\d+)\.(\d+)")
- sfixed_pattern = re.compile("s(\d+)\.(\d+)")
+ ufixed_pattern = re.compile(
r
"u(\d+)\.(\d+)")
+ sfixed_pattern = re.compile(
r
"s(\d+)\.(\d+)")
def __init__(self, parser, attrs):
self.parser = parser