Adding D Editor Support

John A. De Goes john.withoutspam. at n-brain.net
Sat Jun 14 09:29:56 PDT 2008


If the error reporting is done through inheritance of the class 'Lexer', then they should obey the same general convention. Though I have no idea if the private part has an dependencies on the public part.

Regards,

John

Georg Wrede Wrote:
> Ary Borenszweig wrote:
> > Walter Bright a écrit :
> >> John A. De Goes wrote:
> >>
> >>> Without documentation on the format, the best I can do is to
> >>> experiment with the compiler and try to elicit all possible
> >>> errors/warnings. And hope they fall into a small number of consistent
> >>> patterns (which seems likely given that all the errors I encountered
> >>> so far matched the above patterns).
> >>>
> >>> Anyone having inside knowledge of the format care to save me some
> >>> time here? (Walter, you listening? :-)
> >>
> >> No problem. dmd.zip comes with compiler source, just grep for calls to 
> >> the function "error(". No need to experiment!
> > 
> > But some errors are reported in the closed-source part... :-(
> 
> What's their format?
> Do they ever contain file/line numbers?




More information about the Digitalmars-d mailing list