Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
February 16, 2012 [Issue 7524] New: #line __LINE__ doesn't parse on D2.020 and later | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=7524 Summary: #line __LINE__ doesn't parse on D2.020 and later Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: clugdbug@yahoo.com.au --- Comment #0 from Don <clugdbug@yahoo.com.au> 2012-02-16 12:25:11 PST --- Two parser problems, different bugs but closely related: (A) D2-only. #line __LINE__ "y.d" crash.d(3): #line integer ["filespec"]\n expected crash.d(3): Declaration expected, not '"y.d"' But #line 7 __FILE__ works From the spec, it's not clear if this should work, or not. But it works on D1, and it worked on prehistoric D2 (D2.012, for example). (B) Doing things like: #line 47 __VERSION__ #line 888 __DATE__ causes the compiler to hang on both D1 and D2. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 03, 2013 [Issue 7524] #line __LINE__ doesn't parse on D2.020 and later | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=7524 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com --- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2013-10-02 22:09:21 PDT --- D2 fix: https://github.com/D-Programming-Language/dmd/pull/2621 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 06, 2013 [Issue 7524] #line __LINE__ doesn't parse on D2.020 and later | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=7524 --- Comment #2 from github-bugzilla@puremagic.com 2013-10-05 19:17:09 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/456890cf858d9e62efc3bef2316c0ee2699b962d fix Issue 7524 - #line __LINE__ doesn't parse on D2.020 and later https://github.com/D-Programming-Language/dmd/commit/792382a068d8a958a736f10e7bb091c1715576eb Merge pull request #2621 from WalterBright/fix7524 fix Issue 7524 - #line __LINE__ doesn't parse on D2.020 and later -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 06, 2013 [Issue 7524] D1: #line __LINE__ doesn't parse | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=7524 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|D1 & D2 |D1 Summary|#line __LINE__ doesn't |D1: #line __LINE__ doesn't |parse on D2.020 and later |parse --- Comment #3 from Walter Bright <bugzilla@digitalmars.com> 2013-10-05 19:50:43 PDT --- Fixed for D2. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 06, 2013 [Issue 7524] D1: #line __LINE__ doesn't parse | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=7524 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Walter Bright <bugzilla@digitalmars.com> 2013-10-05 19:56:37 PDT --- Although __LINE__ isn't supported in D1, it doesn't crash as reported here with 1.077. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation