type information

This commit is contained in:
mrexodia 2016-09-22 15:06:25 +02:00
parent b33fad74de
commit 119546444d
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
1 changed files with 10 additions and 0 deletions

View File

@ -19,6 +19,16 @@ namespace AST
using Operator = Lexer::Token; //TODO
using Type = Lexer::Token; //TODO
/*
(2.1) - const can be combined with any type specifier except itself.
(2.2) - volatile can be combined with any type specifier except itself.
(2.3) - signed or unsigned can be combined with char, long, short, or int.
(2.4) - short or long can be combined with int.
(2.5) - long can be combined with double.
(2.6) - long can be combined with long.
"The signed specifier forces char objects to be signed; it is redundant in other contexts."
*/
class StatDecl //base class for every node
{
public: