Add negative integers

This commit is contained in:
Bruno BELANYI 2024-04-07 22:49:15 +01:00
parent 893d316aa0
commit 1e92f02aa5
5 changed files with 225 additions and 96 deletions

View file

@ -0,0 +1,33 @@
================================================================================
Integer
================================================================================
foo = 0
foo = 42
--------------------------------------------------------------------------------
(source_file
(assignment
(identifier)
(integer_literal))
(assignment
(identifier)
(integer_literal)))
================================================================================
Integer (negative)
================================================================================
foo = -0
foo = -42
--------------------------------------------------------------------------------
(source_file
(assignment
(identifier)
(integer_literal))
(assignment
(identifier)
(integer_literal)))