mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 17:12:55 +02:00
This separates matching/parsing of statements and declarations and
fixes a few edge cases where the parser would incorrectly accept a
declaration where only a statement is allowed - for example:
if (foo) const a = 1;
for (var bar;;) function b() {}
while (baz) class c {}
72 KiB
72 KiB