309
|
1 /++
|
|
2 Author: Aziz Köksal
|
|
3 License: GPL3
|
|
4 +/
|
|
5
|
|
6 string[] messages = [
|
|
7 "invalid Unicode character.",
|
|
8 "invalid UTF-8 sequence.",
|
|
9 // ''
|
|
10 "unterminated character literal.",
|
|
11 "empty character literal.",
|
|
12 // #line
|
|
13 "expected 'line' after '#'.",
|
|
14 `the filespec must be defined in a double quote string literal (e.g. "filespec".)`,
|
|
15 "integer expected after #line",
|
|
16 "newline not allowed inside special token.",
|
|
17 "expected a terminating newline after special token.",
|
|
18 // ""
|
|
19 "unterminated string literal.",
|
|
20 // x""
|
|
21 "non-hex character '{1}' found in hex string.",
|
|
22 "odd number of hex digits in hex string.",
|
|
23 "unterminated hex string.",
|
|
24 // /* */ /+ +/
|
|
25 "unterminated block comment (/* */).",
|
|
26 "unterminated nested comment (/+ +/).",
|
|
27 // `` r""
|
|
28 "unterminated raw string.",
|
|
29 "unterminated back quote string.",
|
|
30 // \x \u \U
|
|
31 "found undefined escape sequence.",
|
|
32 "insufficient number of hex digits in escape sequence.",
|
|
33 // \&[a-zA-Z][a-zA-Z0-9]+;
|
|
34 "undefined HTML entity '{1}'",
|
|
35 "unterminated HTML entity.",
|
|
36 "html entities must begin with a letter.",
|
|
37 // integer overflows
|
|
38 "decimal number overflows sign bit.",
|
|
39 "overflow in decimal number.",
|
|
40 "overflow in hexadecimal number.",
|
|
41 "overflow in binary number.",
|
|
42 "overflow in octal number.",
|
|
43 "overflow in float number.",
|
|
44 "digits 8 and 9 are not allowed in octal numbers.",
|
|
45 "invalid hex number; at least one hex digit expected.",
|
|
46 "invalid binary number; at least one binary digit expected.",
|
|
47 "the exponent of a hexadecimal float number is required.",
|
|
48 "missing decimal digits in hexadecimal float exponent.",
|
|
49 "exponents have to start with a digit.",
|
|
50
|
|
51 // Parser messages
|
|
52 "expected '{1}', but found '{2}'.",
|
|
53 "'{1}' is redundant.",
|
|
54
|
|
55 `dil v{1}
|
|
56 Copyright (c) 2007 by Aziz Köksal. All rights reserved. Licensed under GPL3.
|
|
57
|
|
58 Subcommands:
|
|
59 {2}
|
|
60
|
|
61 Type 'dil help <subcommand>' for more help on a particular subcommand.
|
|
62
|
|
63 Compiled with {3} v{4} on {5}.
|
|
64 `
|
|
65 ]; |