diff options
Diffstat (limited to 'src/tools/qlalr/examples/glsl/glsl-lex.l')
-rw-r--r-- | src/tools/qlalr/examples/glsl/glsl-lex.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/qlalr/examples/glsl/glsl-lex.l b/src/tools/qlalr/examples/glsl/glsl-lex.l index 2a9618edf8..c92aad296b 100644 --- a/src/tools/qlalr/examples/glsl/glsl-lex.l +++ b/src/tools/qlalr/examples/glsl/glsl-lex.l @@ -142,7 +142,7 @@ icst ({dec}|0{oct}*|0[xX]{hex}+) "lowp" { return LOW_PRECISION; } #[ \t]+[0-9]+.* { - char *eptr = 0; + char *eptr = nullptr; context.line = (int) strtod(&yytext[1], &eptr); QString fn = QString::fromUtf8(eptr).trimmed(); if (fn.length() > 2) |