aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cp-tree.def
diff options
context:
space:
mode:
authorMark Mitchell <mmitchell@usa.net>1998-03-18 10:52:04 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1998-03-18 10:52:04 +0000
commitad3212931059fbf2c069c11851c587a4e86380b3 (patch)
treec837a98a88ced12290d46507bb5f3592c37addbc /gcc/cp/cp-tree.def
parentcbe3672526c7686edca6e3c5e81a6bb9369f36e0 (diff)
downloadgcc-ad3212931059fbf2c069c11851c587a4e86380b3.zip
gcc-ad3212931059fbf2c069c11851c587a4e86380b3.tar.gz
gcc-ad3212931059fbf2c069c11851c587a4e86380b3.tar.bz2
semantics.c: New file, containing routines to perform the semantic phase of parsing.
* semantics.c: New file, containing routines to perform the semantic phase of parsing. * parse.y: Use it. * pt.c (tsubst_expr): Likewise. * cp-tree.h: Declare the various functions in semantics.c. Provide macros to access _STMT tree nodes. * cp-tree.def: Add ASM_STMT tree node. * Makefile.in, Make-lang.in: Add dependencies on and for semantics.c. From-SVN: r18658
Diffstat (limited to 'gcc/cp/cp-tree.def')
-rw-r--r--gcc/cp/cp-tree.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/cp-tree.def b/gcc/cp/cp-tree.def
index 1f39768..98217c3 100644
--- a/gcc/cp/cp-tree.def
+++ b/gcc/cp/cp-tree.def
@@ -200,6 +200,7 @@ DEFTREECODE (BREAK_STMT, "break_stmt", 'e', 0)
DEFTREECODE (CONTINUE_STMT, "continue_stmt", 'e', 0)
DEFTREECODE (SWITCH_STMT, "switch_stmt", 'e', 2)
DEFTREECODE (GOTO_STMT, "goto_stmt", 'e', 1)
+DEFTREECODE (ASM_STMT, "asm_stmt", 'e', 5)
DEFTREECODE (CTOR_INITIALIZER, "ctor_initializer", 'e', 2)
DEFTREECODE (CASE_LABEL, "case_label", 'e', 2)