Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
HLSL uses h or H as a float literal suffix, meaning "half".
  • Loading branch information
icculus committed Nov 22, 2010
1 parent 0be4964 commit dba0618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader_lexer.re
Expand Up @@ -74,7 +74,7 @@ Token preprocessor_lexer(IncludeState *s)
L = [a-zA-Z_];
H = [a-fA-F0-9];
E = [Ee] [+-]? D+;
FS = [fFlL];
FS = [fFhH];
IS = [uUlL]*;
ESC = [\\] ([abfnrtv?'"\\] | "x" H+ | O+);
PP = "#" [ \t]*;
Expand Down

0 comments on commit dba0618

Please sign in to comment.