From 119546444d324458c2476d7eef36697f0f4107e0 Mon Sep 17 00:00:00 2001 From: mrexodia Date: Thu, 22 Sep 2016 15:06:25 +0200 Subject: [PATCH] type information --- btparser/ast.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/btparser/ast.h b/btparser/ast.h index b6512fe..2dbfc49 100644 --- a/btparser/ast.h +++ b/btparser/ast.h @@ -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: