summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/111-no-space-operator-after-hash-if.c.expected
diff options
context:
space:
mode:
authorCarl Worth <[email protected]>2014-06-20 13:44:51 -0700
committerCarl Worth <[email protected]>2014-07-29 15:11:48 -0700
commit21dda50549c5f220eff7ec04a72fb02e5eb09e76 (patch)
tree3f377c3ba8544729ae7326bda16e4e76924511e1 /src/glsl/glcpp/tests/111-no-space-operator-after-hash-if.c.expected
parentcc335c0e57a92fd78141894350607eca3622465a (diff)
glsl/glcpp: Remove some un-needed calls to NEWLINE_CATCHUP
The NEWLINE_CATCHUP code is only intended to be invoked after we lex an actual newline character ('\n'). The two extra calls here were apparently added accidentally because the pattern happened to contain a (negated) '\n', (see commit 6005e9cb283214cd57038c7c5e7758ba72ec6ac2). I don't think either case could have caused any actual bug. (In the first case, the pattern matched right up to the next newline, so the NEWLINE_CATCHUP code was just about to be called. In the second case, I don't think it's possible to actually enter the <SKIP> start condition after commented newlines without any intervening newline.) But, if nothing else, the code is cleaner without these extra calls. Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/glsl/glcpp/tests/111-no-space-operator-after-hash-if.c.expected')
0 files changed, 0 insertions, 0 deletions