Skip to content
Permalink
Browse files
HLSL uses h or H as a float literal suffix, meaning "half".
  • Loading branch information
icculus committed Nov 22, 2010
1 parent 0be4964 commit dba0618ff1ec4ad571cdc46c05d9a85d2390cb19
Showing with 1 addition and 1 deletion.
  1. +1 −1 mojoshader_lexer.re
@@ -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]*;

0 comments on commit dba0618

Please sign in to comment.