one more instance of assignment

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24340 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Luigi Rizzo
2006-05-02 20:13:58 +00:00
parent 0e8e343e1f
commit 05d2b78132
2 changed files with 450 additions and 462 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -375,10 +375,7 @@ switch_head : KW_SWITCH test_expr LC {
statement : LC statements RC {
$$ = npval2(PV_STATEMENTBLOCK, &@1, &@3);
$$->u1.list = $2; }
| word EQ {reset_semicount(parseio->scanner);} word SEMI {
$$ = npval2(PV_VARDEC, &@1, &@5);
$$->u1.str = $1;
$$->u2.val = $4; }
| assignment { $$ = $1; }
| KW_GOTO target SEMI {
$$ = npval2(PV_GOTO, &@1, &@3);
$$->u1.list = $2;}