grammar,compiler: Add Support For Fixed-Width Integers
Distinguishing between signed and unsigned fixed-width integer types must still be done. Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -38,7 +38,9 @@ int fun() {
|
||||
(function_declaration
|
||||
(typeRef
|
||||
(baseType
|
||||
(int)
|
||||
(int_type
|
||||
(int)
|
||||
)
|
||||
)
|
||||
)
|
||||
(identifier)
|
||||
@@ -382,7 +384,9 @@ parser simple() {
|
||||
(variableDeclaration
|
||||
(typeRef
|
||||
(baseType
|
||||
(int)
|
||||
(int_type
|
||||
(int)
|
||||
)
|
||||
)
|
||||
)
|
||||
(identifier)
|
||||
|
||||
Reference in New Issue
Block a user