diff options
author | Neil Roberts <[email protected]> | 2014-11-26 17:57:42 +0000 |
---|---|---|
committer | Neil Roberts <[email protected]> | 2014-11-27 11:43:59 +0000 |
commit | c97cbd7e3d9faae1185a740d2a94c48e9a75d8b9 (patch) | |
tree | 13447098989c9d417727d039c49e8d54678b7aee /docs | |
parent | 9d8aa886938c7476a911f8cf8051d87d76755394 (diff) |
glsl: Use | action in the lexer source to avoid duplicating the float action
Flex and lex have a special action ‘|’ which means to use the same action as
the next rule. We can use this to reduce a bit of code duplication in the
rules for the various float literal formats.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions