From c96c55cd222f8561363033803c5b8d1076a7af47 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Mon, 20 Jun 2011 11:13:36 -0700 Subject: 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 --- framework/glsl_parser_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/glsl_parser_test.py b/framework/glsl_parser_test.py index f4c2a022..da8ff62b 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.*\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 -- cgit v1.2.3