dcbaker / meson-plus-plus

An experimental and incomplete implementation of Meson in C++, for solving Meson's bootstrapping issue.
Apache License 2.0
45 stars 7 forks source link

Fix a number of issues with the parser #32

Closed dcbaker closed 2 years ago

dcbaker commented 2 years ago

The biggest change here is that we actually check the return value of the lexer and parser, which means that a number of things that were invalid are now actual errors.

I've also fixed a number of issues that I discovered by running most of the meson.build files from the main meson repo through the standalone parser: