summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorChad Versace <chad@chad-versace.us>2011-06-20 11:13:36 -0700
committerChad Versace <chad@chad-versace.us>2011-06-20 11:15:50 -0700
commitc96c55cd222f8561363033803c5b8d1076a7af47 (patch)
tree0b3f518ba6daa4671071ba8acddf803ae2d5e2bc /framework
parent525e6205d02b22d5b5df1691044a992bfaf05e82 (diff)
glsl_parser_test: Make [end_config] synonymous with [end config]
Because we shouldn't penalize anyone for using the underscore as a separator. Signed-off-by: Chad Versace <chad@chad-versace.us>
Diffstat (limited to 'framework')
-rwxr-xr-xframework/glsl_parser_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/glsl_parser_test.py b/framework/glsl_parser_test.py
index f4c2a0222..da8ff62bf 100755
--- a/framework/glsl_parser_test.py
+++ b/framework/glsl_parser_test.py
@@ -238,7 +238,7 @@ class GLSLParserTest(PlainExecTest):
indent = '.' * len(m.group('indent'))
empty = re.compile(r'\A\s*(|//|/\*|\*)\s*\n\Z')
internal = re.compile(r'\A{indent}(?P<content>.*\n)\Z'.format(indent=indent))
- end = re.compile(r'\A{indent}\[end config\]\s*\n\Z'.format(indent=indent))
+ end = re.compile(r'\A{indent}\[end( |_)config\]\s*\n\Z'.format(indent=indent))
elif parse_state == PARSE_IN_CONFIG:
if start.match(line) is not None:
parse_state = PARSE_ERROR