projects
/
satune.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34fa411
)
Check in missing file
author
bdemsky
<bdemsky@uci.edu>
Wed, 21 Jun 2017 22:10:37 +0000
(15:10 -0700)
committer
bdemsky
<bdemsky@uci.edu>
Wed, 21 Jun 2017 22:10:37 +0000
(15:10 -0700)
src/AST/astnode.h
[new file with mode: 0644]
patch
|
blob
diff --git a/src/AST/astnode.h
b/src/AST/astnode.h
new file mode 100644
(file)
index 0000000..
9aaee86
--- /dev/null
+++ b/
src/AST/astnode.h
@@ -0,0
+1,11
@@
+#ifndef ASTNODE_H
+#define ASTNODE_H
+#include "classlist.h"
+#include "ops.h"
+
+struct ASTNode {
+ ASTNodeType type;
+};
+
+#define GETASTNODETYPE(o) (((ASTNode *) o)->type)
+#endif