Hi, everyone, first post here. I'm trying to learn to parse D code.

The line "alias StorageClassesopt BasicType Declarator" in http://dlang.org/grammar#AliasDeclaration is apparently missing a semicolon after Declarator.

If that line is not missing a semicolon, could someone please explain how it's possible to parse D, given that according to the grammar with that line taken literally, some statements may come after each other without a semicolon, and some statements may end with one of the keywords "const", "immutable", "inout", or "shared", which are keywords that come at the beginning of some other statements?

Reply via email to