From bdc4349d7eece0bc3aaf864ee3b32fe8cc3637a3 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 4 Jan 2011 22:18:20 +0000 Subject: Don't look outside of function literal for break or continue label. From-SVN: r168486 --- gcc/go/gofrontend/parse.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/go/gofrontend/parse.h') diff --git a/gcc/go/gofrontend/parse.h b/gcc/go/gofrontend/parse.h index 65f1586..6f2ac64 100644 --- a/gcc/go/gofrontend/parse.h +++ b/gcc/go/gofrontend/parse.h @@ -294,9 +294,9 @@ class Parse // The code we are generating. Gogo* gogo_; // A stack of statements for which break may be used. - Bc_stack break_stack_; + Bc_stack* break_stack_; // A stack of statements for which continue may be used. - Bc_stack continue_stack_; + Bc_stack* continue_stack_; // The current iota value. int iota_; // References from the local function to variables defined in -- cgit v1.1