diff options
-rwxr-xr-x | hw/xwin/glx/gen_gl_wrappers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xwin/glx/gen_gl_wrappers.py b/hw/xwin/glx/gen_gl_wrappers.py index 79fbeefe8..0ff579ac0 100755 --- a/hw/xwin/glx/gen_gl_wrappers.py +++ b/hw/xwin/glx/gen_gl_wrappers.py @@ -67,7 +67,7 @@ if dispatchheader : fh = open(dispatchheader) dispatchh = fh.readlines() - dispatch_regex = re.compile(r'(?:#define|static\sinline\svoid)\sSET_(\S*)\(') + dispatch_regex = re.compile(r'(?:#define\s|static\sinline\svoid\s|)SET_(\S*)\(') for line in dispatchh : line = line.strip() |