www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1127] New: -v1 doesn't disable the ref and macro keywords

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1127

           Summary: -v1 doesn't disable the ref and macro keywords
           Product: D
           Version: 1.011
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: torhu yahoo.com


Title says it all.

bug.d:
---
int ref;
---

dmd -c bug.d

bug.d(1): no identifier for declarator int
bug.d(1): semicolon expected, not 'ref'
bug.d(1): Declaration expected, not 'ref'

Same goes for 'macro'.


-- 
Apr 11 2007
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1127






This bug breaks DWT.


-- 
Apr 11 2007
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1127


torhu yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





Fixed dmd 1.012.


-- 
Apr 12 2007