www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13310] New: Old style multiple alias declaration not documented


          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 puremagic.com
          Reporter: briancschott gmail.com

alias CHAR*         LPCH,  LPSTR,  PCH,  PSTR;

    alias StorageClassesopt BasicType Declarator
    alias AliasDeclarationX ;

    Identifier TemplateParametersopt = StorageClassesopt Type
    AliasDeclarationX , Identifier TemplateParametersopt = StorageClassesopt

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.

Aug 16 2014