diff options
| author | Kyle Gunger <kgunger12@gmail.com> | 2021-12-03 19:03:08 -0500 |
|---|---|---|
| committer | Kyle Gunger <kgunger12@gmail.com> | 2021-12-03 19:03:08 -0500 |
| commit | e7091ba29c28352cfb33906092e212723db399b1 (patch) | |
| tree | 1c942808e861f3de2e40bef4b687a44dbd62d8e1 /tests/literal-test.tnsl | |
| parent | 1100ac865074effb3a4735c7449779f7193b7d0c (diff) | |
[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
Diffstat (limited to 'tests/literal-test.tnsl')
| -rw-r--r-- | tests/literal-test.tnsl | 12 |
1 files changed, 6 insertions, 6 deletions
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 |