libdparse
libdparse copied to clipboard
An error in declaration could be detected
For
const a (0);
no error is emitted. DMD parser finds
Error: unexpected ( in declarator
Only in DeclarationOrStatement, i.e function bodies.