diff options
| -rw-r--r-- | lua.stx | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -1,6 +1,6 @@ | |||
| 1 | %{ | 1 | %{ |
| 2 | /* | 2 | /* |
| 3 | ** $Id: lua.stx,v 1.14 1997/10/24 18:40:29 roberto Exp roberto $ | 3 | ** $Id: lua.stx,v 1.15 1997/10/28 17:26:53 roberto Exp roberto $ |
| 4 | ** Syntax analizer and code generator | 4 | ** Syntax analizer and code generator |
| 5 | ** See Copyright Notice in lua.h | 5 | ** See Copyright Notice in lua.h |
| 6 | */ | 6 | */ |
| @@ -677,6 +677,8 @@ sc : /* empty */ | ';' ; | |||
| 677 | 677 | ||
| 678 | stat : IF cond THEN block SaveWord elsepart END { codeIf($2, $5); } | 678 | stat : IF cond THEN block SaveWord elsepart END { codeIf($2, $5); } |
| 679 | 679 | ||
| 680 | | DO block END | ||
| 681 | |||
| 680 | | WHILE GetPC cond DO block END | 682 | | WHILE GetPC cond DO block END |
| 681 | {{ | 683 | {{ |
| 682 | int expsize = $3-$2; | 684 | int expsize = $3-$2; |
