Mercurial > projects > dil
annotate trunk/src/lang_en.d @ 341:3ac651ea83fb
- Fix: created TemplateAliasParameter instead of TemplateTypeParameter.
- Added error message TemplateTupleParameter.
author | aziz |
---|---|
date | Wed, 22 Aug 2007 20:13:00 +0000 |
parents | 63c6afb915f7 |
children | f13d551d7c4f |
rev | line source |
---|---|
309 | 1 /++ |
2 Author: Aziz Köksal | |
3 License: GPL3 | |
4 +/ | |
5 | |
6 string[] messages = [ | |
310 | 7 // Lexer messages: |
309 | 8 "invalid Unicode character.", |
9 "invalid UTF-8 sequence.", | |
10 // '' | |
11 "unterminated character literal.", | |
12 "empty character literal.", | |
13 // #line | |
14 "expected 'line' after '#'.", | |
15 "integer expected after #line", | |
323 | 16 `expected filespec string (e.g. "path\to\file".)`, |
17 "unterminated filespec string.", | |
309 | 18 "expected a terminating newline after special token.", |
19 // "" | |
20 "unterminated string literal.", | |
21 // x"" | |
22 "non-hex character '{1}' found in hex string.", | |
23 "odd number of hex digits in hex string.", | |
24 "unterminated hex string.", | |
25 // /* */ /+ +/ | |
26 "unterminated block comment (/* */).", | |
27 "unterminated nested comment (/+ +/).", | |
28 // `` r"" | |
29 "unterminated raw string.", | |
30 "unterminated back quote string.", | |
31 // \x \u \U | |
32 "found undefined escape sequence.", | |
33 "insufficient number of hex digits in escape sequence.", | |
34 // \&[a-zA-Z][a-zA-Z0-9]+; | |
35 "undefined HTML entity '{1}'", | |
36 "unterminated HTML entity.", | |
310 | 37 "HTML entities must begin with a letter.", |
309 | 38 // integer overflows |
39 "decimal number overflows sign bit.", | |
40 "overflow in decimal number.", | |
41 "overflow in hexadecimal number.", | |
42 "overflow in binary number.", | |
43 "overflow in octal number.", | |
44 "overflow in float number.", | |
45 "digits 8 and 9 are not allowed in octal numbers.", | |
46 "invalid hex number; at least one hex digit expected.", | |
47 "invalid binary number; at least one binary digit expected.", | |
48 "the exponent of a hexadecimal float number is required.", | |
49 "missing decimal digits in hexadecimal float exponent.", | |
50 "exponents have to start with a digit.", | |
51 | |
52 // Parser messages | |
53 "expected '{1}', but found '{2}'.", | |
54 "'{1}' is redundant.", | |
341
3ac651ea83fb
- Fix: created TemplateAliasParameter instead of TemplateTypeParameter.
aziz
parents:
338
diff
changeset
|
55 "template tuple parameters can only be last.", |
309 | 56 |
310 | 57 // Help messages: |
309 | 58 `dil v{1} |
310 | 59 Copyright (c) 2007 by Aziz Köksal. Licensed under the GPL3. |
309 | 60 |
61 Subcommands: | |
338 | 62 {2} |
309 | 63 Type 'dil help <subcommand>' for more help on a particular subcommand. |
64 | |
338 | 65 Compiled with {3} v{4} on {5}.`, |
329 | 66 `Generate an XML or HTML document from a D source file. |
67 Usage: | |
68 dil gen file.d [Options] | |
69 | |
70 Options: | |
338 | 71 --syntax : generate tags for the syntax tree |
72 --xml : use XML format (default) | |
329 | 73 --html : use HTML format |
74 | |
75 Example: | |
338 | 76 dil gen Parser.d --html --syntax > Parser.html`, |
309 | 77 ]; |