diff --git a/vvp/parse.y b/vvp/parse.y index 35ff2145a..ea507e415 100644 --- a/vvp/parse.y +++ b/vvp/parse.y @@ -105,6 +105,10 @@ statement | T_LABEL K_VAR ';' { compile_variable($1); } + + /* Oh and by the way, empty statements are OK as well. */ + + | ';' ;