diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-07 16:15:51 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-07 16:15:51 +0000 |
commit | fed691abddc2b242a6bcb81d87e18797b95bbe80 (patch) | |
tree | 28cb4c0ea9facfa7cc8642c778708f4e038c2aef /c_compiler/include/declaration.hpp | |
parent | 15789d04e85806745c4c2e1cb3fdc891c34ab21f (diff) | |
download | Compiler-fed691abddc2b242a6bcb81d87e18797b95bbe80.tar.gz Compiler-fed691abddc2b242a6bcb81d87e18797b95bbe80.zip |
Can compile simplest program
Diffstat (limited to 'c_compiler/include/declaration.hpp')
-rw-r--r-- | c_compiler/include/declaration.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c_compiler/include/declaration.hpp b/c_compiler/include/declaration.hpp index c46aca2..7f862a5 100644 --- a/c_compiler/include/declaration.hpp +++ b/c_compiler/include/declaration.hpp @@ -9,7 +9,7 @@ class Declaration : public Node { protected: Type* type; std::string id; - Initializer* init; + Expression* init; Declaration* next_decl; Declaration* list_next_decl; |