validate number literals in AstGen

This commit is contained in:
Veikka Tuominen
2022-08-31 13:36:48 +03:00
committed by Andrew Kelley
parent 716d9237cb
commit 349d78a443
34 changed files with 592 additions and 652 deletions

View File

@@ -75,7 +75,7 @@ pub fn addCases(cases: *tests.CompareOutputContext) void {
\\ _ = c.printf("0.0e0: %.013a\n",
\\ @as(f64, 0.0e0));
\\ _ = c.printf("000000000000000000000000000000000000000000000000000000000.0e0: %.013a\n",
\\ @as(f64, 000000000000000000000000000000000000000000000000000000000.0e0));
\\ @as(f64, 0.0e0));
\\ _ = c.printf("0.000000000000000000000000000000000000000000000000000000000e0: %.013a\n",
\\ @as(f64, 0.000000000000000000000000000000000000000000000000000000000e0));
\\ _ = c.printf("0.0e000000000000000000000000000000000000000000000000000000000: %.013a\n",