Function DLexer.messages

const(DLexer.Message[]) messages() @property const;

Returns

An array of all of the warnings and errors generated so far during lexing. It may make sense to only check this when empty returns true.