www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - grammer questions

reply Philip Miess <philip.Miess yahoo.com> writes:
On the grammar page it says

ModuleDeclaration:
    module ModuleFullyQualifiedName ;

On the module page it says

ModuleDeclaration:
    ModuleAttributesopt module ModuleFullyQualifiedName ;

Is the difference and accident? Which is correct?

Also I see that string literal concatenation comments where removed from 
the lexical page and it is deprecated, but I don't see anything about it 
  
https://dlang.org/spec/expression.html#StringLiterals. 
Should that be marked or removed?

Phil
Apr 25
parent Basile B. <b2.temp gmx.com> writes:
On Wednesday, 26 April 2017 at 00:45:44 UTC, Philip Miess wrote:
 On the grammar page it says

 ModuleDeclaration:
     module ModuleFullyQualifiedName ;

 On the module page it says

 ModuleDeclaration:
     ModuleAttributesopt module ModuleFullyQualifiedName ;

 Is the difference and accident? Which is correct?

 Also I see that string literal concatenation comments where 
 removed from the lexical page and it is deprecated, but I don't 
 see anything about it   
 https://dlang.org/spec/expression.html#StringLiterals. Should 
 that be marked or removed?

 Phil
Thanks, both issues are confirmed. Next time you could also report the problems directly in the bug tracker since the specifications are considered as part of DMD. Fixes are now pending on github.
Apr 26