Mercurial > projects > dil
comparison trunk/src/dil/Location.d @ 744:7173ece1b696
Wrapped some macro functions inside struct MacroExpander.
Warning messages from the macro expansion pass are collected now.
Tidied up predefined.ddoc a bit, and added some macros.
Added two messages to struct MSG.
Added another opCatAssign to class InfoManager.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sat, 09 Feb 2008 22:54:31 +0100 |
parents | 9e811db780a6 |
children | c24be8d4f6ab |
comparison
equal
deleted
inserted
replaced
743:764f660e3909 | 744:7173ece1b696 |
---|---|
9 | 9 |
10 final class Location | 10 final class Location |
11 { | 11 { |
12 char[] filePath; | 12 char[] filePath; |
13 size_t lineNum; | 13 size_t lineNum; |
14 char* lineBegin, to; // Used to calculate column. | 14 char* lineBegin, to; /// Used to calculate column. |
15 | 15 |
16 this(char[] filePath, size_t lineNum) | 16 this(char[] filePath, size_t lineNum) |
17 { | 17 { |
18 set(filePath, lineNum); | 18 set(filePath, lineNum); |
19 } | 19 } |