digitalmars.D.bugs - [Issue 7524] New: #line __LINE__ doesn't parse on D2.020 and later
- d-bugmail puremagic.com (28/28) Feb 16 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7524
- d-bugmail puremagic.com (11/11) Oct 02 2013 http://d.puremagic.com/issues/show_bug.cgi?id=7524
- d-bugmail puremagic.com (11/11) Oct 05 2013 http://d.puremagic.com/issues/show_bug.cgi?id=7524
- d-bugmail puremagic.com (12/12) Oct 05 2013 http://d.puremagic.com/issues/show_bug.cgi?id=7524
- d-bugmail puremagic.com (12/12) Oct 05 2013 http://d.puremagic.com/issues/show_bug.cgi?id=7524
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 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: -------
Feb 16 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7524 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla digitalmars.com 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: -------
Oct 02 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7524 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 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: -------
Oct 05 2013
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 19:50:43 PDT --- Fixed for D2. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 05 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7524 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED 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: -------
Oct 05 2013