Differences From Artifact [bda39a8af81ee5d9]:
- File
polemy/lex.d
- 2010-11-09 06:02:32 - part of checkin [7de80acfb8] on branch trunk - Added ultra tenuki REPL (user: kinaba) [annotate]
To Artifact [a96449f7398ef311]:
- File
polemy/lex.d
- 2010-11-09 06:19:11 - part of checkin [d78d700f7a] on branch trunk - tenuki REPL bug-fix (now we can continue using REPL after a syntax error) and file interpreter mode. (user: kinaba) [annotate]
11 11
12 12 /// Exception from this module
13 13
14 14 class LexException : Exception
15 15 {
16 16 const LexPosition pos;
17 17
18 - this( const LexPosition pos, string msg, string file="", int line=0, Throwable next=null )
18 + this( const LexPosition pos, string msg, string file=null, size_t line=0, Throwable next=null )
19 19 { super(sprintf!"[%s] %s"(pos, msg), file, line, next); this.pos = pos; }
20 20 };
21 21
22 22 /// Represents a position in a source code
23 23
24 24 class LexPosition
25 25 {