Change double-precision suffix from l to d

This commit is contained in:
Nikita Lisitsa 2026-03-31 16:00:34 +03:00
parent e573081647
commit d5eab856c8

View file

@ -105,7 +105,7 @@ f64 { return bp::make_f64(ctx.location); }
[0-9]+\.[0-9]+ { return bp::make_lit_f32(yytext, ctx.location); }
[0-9]+\.[0-9]+h { return bp::make_lit_f16(yytext, ctx.location); }
[0-9]+\.[0-9]+l { return bp::make_lit_f64(yytext, ctx.location); }
[0-9]+\.[0-9]+d { return bp::make_lit_f64(yytext, ctx.location); }
'.' { return bp::make_lit_char8(yytext[1], ctx.location); }
'\\n' { return bp::make_lit_char8(10, ctx.location); }