[Issue 13310] New: Old style multiple alias declaration not documented
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Aug 16 19:33:13 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13310
Issue ID: 13310
Summary: Old style multiple alias declaration not documented
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: websites
Assignee: nobody at puremagic.com
Reporter: briancschott at gmail.com
---
alias CHAR* LPCH, LPSTR, PCH, PSTR;
---
AliasDeclaration:
alias StorageClassesopt BasicType Declarator
alias AliasDeclarationX ;
AliasDeclarationX:
Identifier TemplateParametersopt = StorageClassesopt Type
AliasDeclarationX , Identifier TemplateParametersopt = StorageClassesopt
Type
Obviously AliasDeclarationX doesn't match because there's no "=" token, so
let's try the first rule. This doesn't match because Declarator doesn't allow
commas and multiple identifiers.
--
More information about the Digitalmars-d-bugs
mailing list