ppc: von gesamt nach gesamt_ppc gemovet
[uebersetzerbau-ss10.git] / gesamt / tree.h
index a6d52c4d1937c7948ff0584fc5961d4073e0c314..e7fd68f9297d8ae2e6771dd12b19963fef0ed5bc 100644 (file)
@@ -14,7 +14,7 @@ enum {
        O_OR=5, O_LESS, O_EQ, O_ID, O_ADD,
        O_NUM=10, O_FIELD, O_MTWO, O_MFOUR, O_MEIGHT,
        O_MONE=15, O_ASSIGN, O_IF, O_BOOL, O_CALL,
-       O_ARG=20, O_NOTHING
+       O_ARG=20, O_NOTHING, O_EXPR
 };
 
 static char *o_names[] = {
@@ -22,7 +22,7 @@ static char *o_names[] = {
        "O_OR", "O_LESS", "O_EQ", "O_ID", "O_ADD",
        "O_NUM", "O_FIELD", "O_MTWO", "O_MFOUR", "O_MEIGHT",
        "O_MONE", "O_ASSIGN", "O_IF", "O_BOOL", "O_CALL",
-       "O_ARG", "O_NOTHING"
+       "O_ARG", "O_NOTHING", "O_EXPR"
 };
 
 struct treenode {
@@ -56,5 +56,6 @@ struct treenode *new_call(char *name, struct treenode *l, struct treenode *r, in
 struct treenode *new_arg(struct treenode *l, struct treenode *r, int soffset);
 struct treenode *new_nothing(void);
 void write_tree(struct treenode *node, int ident);
+void just_calls(struct treenode *node);
 
 #endif