|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
D - [BUG?] D reporting the wrong line number
With a particular file (sorry I can't send it), D reports the wrong line number. I looked in a different program to discover the problem. D counts a ASCII 13 followed by 10 as an enter. Some editors also treat just ASCII 10 as an enter. I don't know if this is a problem to fix in D or the editor (DIDE), but I think it would help prevent newbie problems if 10 by-it-self was treated as an enter (and parhaps 13) by the compiler. -Anderson Dec 16 2003
"J Anderson" <REMOVEanderson badmama.com.au> wrote in message news:bro9jl$5fs$1 digitaldaemon.com... | With a particular file (sorry I can't send it), D reports the wrong line | number. I looked in a different program to discover the problem. D | counts a ASCII 13 followed by 10 as an enter. Some editors also treat | just ASCII 10 as an enter. I don't know if this is a problem to fix in | D or the editor (DIDE), but I think it would help prevent newbie | problems if 10 by-it-self was treated as an enter (and parhaps 13) by | the compiler. | | -Anderson | From dcompiler.html: " Bugs These are some of the major bugs: . The compiler quits on the first error, and sometimes gets the line number wrong. ... " ----------------------- Carlos Santander Bernal --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.552 / Virus Database: 344 - Release Date: 2003-12-15 Dec 16 2003
Carlos Santander B. wrote:"J Anderson" <REMOVEanderson badmama.com.au> wrote in message news:bro9jl$5fs$1 digitaldaemon.com... | With a particular file (sorry I can't send it), D reports the wrong line | number. I looked in a different program to discover the problem. D | counts a ASCII 13 followed by 10 as an enter. Some editors also treat | just ASCII 10 as an enter. I don't know if this is a problem to fix in | D or the editor (DIDE), but I think it would help prevent newbie | problems if 10 by-it-self was treated as an enter (and parhaps 13) by | the compiler. | | -Anderson | From dcompiler.html: " Bugs These are some of the major bugs: .. The compiler quits on the first error, and sometimes gets the line number wrong. .... " ----------------------- Carlos Santander Bernal Dec 16 2003
|