summaryrefslogtreecommitdiff
path: root/gcc/java/parse.h
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-26 18:59:04 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-26 18:59:04 +0000
commit25e7cbadcd929b93900636e7b0e5098341b12784 (patch)
treeeab198f6806cee54744cc3682e0f013f9c4bc976 /gcc/java/parse.h
parentf3e7610ef67eb5afc6d32a3b5ed9279d82f3f5c8 (diff)
downloadgcc-25e7cbadcd929b93900636e7b0e5098341b12784.tar.gz
Fix for PR java/5942:
* parse.y (init_src_parse): Added sanity check. * parse.h (struct parser_ctxt) [modifier_ctx]: Array has 12 elements, not 11. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51398 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/parse.h')
-rw-r--r--gcc/java/parse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/parse.h b/gcc/java/parse.h
index 1d8bb05ef0f..ded6a7000cf 100644
--- a/gcc/java/parse.h
+++ b/gcc/java/parse.h
@@ -762,7 +762,7 @@ struct parser_ctxt {
/* This section is defined only if we compile jc1 */
#ifndef JC1_LITE
- tree modifier_ctx [11]; /* WFL of modifiers */
+ tree modifier_ctx [12]; /* WFL of modifiers */
tree class_type; /* Current class */
tree function_decl; /* Current function decl, save/restore */