comparison trunk/src/dil/Messages.d @ 388:ae154eceba65

Applied some fixes to scanning and printing #line tokens. Fix: Token.line_num can be null which could cause a segfault in printToken(). Renamed MID.ExpectedNumberAfterSTLine to ExpectedIntegerAfterSTLine. Fix: Added a check for TOK.Int32 and TOK.Uint32 after a number was scanned in scanSpecialTokenSequence().
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Wed, 12 Sep 2007 13:43:45 +0200
parents 0bd21b746a04
children c4bfceab7246
comparison
equal deleted inserted replaced
387:ad0cbd1c8881 388:ae154eceba65
15 // '' 15 // ''
16 UnterminatedCharacterLiteral, 16 UnterminatedCharacterLiteral,
17 EmptyCharacterLiteral, 17 EmptyCharacterLiteral,
18 // #line 18 // #line
19 ExpectedIdentifierSTLine, 19 ExpectedIdentifierSTLine,
20 ExpectedNumberAfterSTLine, 20 ExpectedIntegerAfterSTLine,
21 ExpectedFilespec, 21 ExpectedFilespec,
22 UnterminatedFilespec, 22 UnterminatedFilespec,
23 UnterminatedSpecialToken, 23 UnterminatedSpecialToken,
24 // "" 24 // ""
25 UnterminatedString, 25 UnterminatedString,