aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parse.y
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2000-06-21 12:19:17 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2000-06-21 12:19:17 +0000
commitded41e4fca72fd8e4804d6085bed7381d52f272a (patch)
tree0eec428e21a8f8e1f567c5b1672e4af1a7b2dbc3 /gcc/cp/parse.y
parentf2c7f50748be20169f0e814a94c090c3b46e041a (diff)
downloadgcc-ded41e4fca72fd8e4804d6085bed7381d52f272a.zip
gcc-ded41e4fca72fd8e4804d6085bed7381d52f272a.tar.gz
gcc-ded41e4fca72fd8e4804d6085bed7381d52f272a.tar.bz2
parse.y (program): Always call finish_translation_unit.
* parse.y (program): Always call finish_translation_unit. * parse.c, parse.h: Rebuilt. From-SVN: r34629
Diffstat (limited to 'gcc/cp/parse.y')
-rw-r--r--gcc/cp/parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/parse.y b/gcc/cp/parse.y
index 1366991..bbb91ea 100644
--- a/gcc/cp/parse.y
+++ b/gcc/cp/parse.y
@@ -431,6 +431,7 @@ extern void yyprint PARAMS ((FILE *, int, YYSTYPE));
%%
program:
/* empty */
+ { finish_translation_unit (); }
| extdefs
{ finish_translation_unit (); }
;