using 'goto' is now an error
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402412
This commit is contained in:
parent
846caf1298
commit
8126aa6bb8
@ -6265,6 +6265,8 @@ static void dogoto(void)
|
||||
/* if we were inside an endless loop, assume that we jump out of it */
|
||||
endlessloop=0;
|
||||
|
||||
error(4, "goto");
|
||||
|
||||
if (lex(&val,&st)==tSYMBOL) {
|
||||
sym=fetchlab(st);
|
||||
jumplabel((int)sym->addr);
|
||||
|
Loading…
Reference in New Issue
Block a user