Should #line create a new namespace ?

Basile B. via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 26 04:51:41 PDT 2016


On Monday, 26 September 2016 at 11:37:51 UTC, Basile B. wrote:
> On Monday, 26 September 2016 at 10:19:09 UTC, Kagamin wrote:
>> On Sunday, 25 September 2016 at 07:30:49 UTC, Basile B. wrote:
>>> Also since no more special token sequence would exist in the 
>>> language, special token sequence could be removed completely.
>>
>> That's https://issues.dlang.org/show_bug.cgi?id=2660
>
> Yep, I also want an HackerPilot POV about this. He's the 
> official guy for grammar stuff.

To be clear, the problem is: if "SpecialTokenSequence" is removed 
then does "#" become a valid character for identifiers (type 
naming, variable naming).
Example:

struct S{#i int;}

would be be a struct declaration with an inside declaration.


More information about the Digitalmars-d mailing list