]> git.ipfire.org Git - thirdparty/vala.git/commit
parser: Handle incomplete expression statements wip/printer
authorPrinceton Ferro <princetonferro@gmail.com>
Thu, 9 Apr 2020 19:15:45 +0000 (21:15 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 9 Apr 2020 19:27:52 +0000 (21:27 +0200)
commit27a649851bc9f024ef646cc1e38844ec0fe5f344
tree46d5bfc6e4a5d3ea487d0ad33d4fe885c4469a51
parent9ae5de971d6f90961287e15441a264236a3ebd98
parser: Handle incomplete expression statements

Incomplete expression statements are parsed as expression statements
now, rather than local variable declarations. This primarily affects
incomplete member access expressions at the end of blocks.
tests/Makefile.am
tests/ast/incomplete-member-access-end-of-scope.test [new file with mode: 0644]
vala/valaparser.vala