From e7091ba29c28352cfb33906092e212723db399b1 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Fri, 3 Dec 2021 19:03:08 -0500 Subject: [PARSE] Fix hex parsing ~ Apparently CF does work, it was probably just something on my end + Fix parsing of numeric literals with bases other than 10 --- tests/literal-test.tnsl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/literal-test.tnsl') diff --git a/tests/literal-test.tnsl b/tests/literal-test.tnsl index 6e55323..75789b5 100644 --- a/tests/literal-test.tnsl +++ b/tests/literal-test.tnsl @@ -28,19 +28,19 @@ # Invalid (some may be weeded out through the verify phase): -#;string s "" +## ;string s "" -#;int 0 i +## ;int 0 i # Invalid ops should also be detected if dealing with literals -#;char c ~= 's' +## ;char c ~= 's' # Debate over weather these are legal -#;int k = .1 +## ;int k = .1 -;int l = 0x01 +;int l = 01 ;int i -;a a; +;a a -- cgit v1.2.3