blob: 354d981dbeb905f97a18e5913846abeb66efad96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
DIAG_LINE_ONLY_SPACE = 'Line with spaces only.'
DIAG_LINE_POST_SPACE = 'Line with postspace.'
DIAG_UNUSED_LOCAL = 'Unused local `{}`.'
DIAG_UNDEF_GLOBAL = 'Undefined global `{}`.'
DIAG_UNDEF_ENV_CHILD = 'Undefined variable `{}` (overloaded `_ENV` ).'
DIAG_UNDEF_FENV_CHILD = 'Undefined variable `{}` (inside module).'
DIAG_UNUSED_LABEL = 'Unused label `{}`.'
DIAG_REDEFINED_LOCAL = 'Redefined local `{}`.'
DIAG_PREVIOUS_CALL = 'Parsed as function call for the previous line. It may be necessary to add a `;` before.'
DIAG_OVER_MAX_ARGS = 'The function takes only {:d} parameters, but you passed {:d}.'
DIAG_AMBIGUITY_1 = 'Compute `0 {op} {num}` first. You may need to add brackets.'
DIAG_LOWERCASE_GLOBAL = 'Global variable in lowercase initial'
DIAG_DIAGNOSTICS = 'Diagnostics'
DIAG_SYNTAX_CHECK = 'Syntax Check'
DIAG_NEED_VERSION = 'Supported in {}'
DIAG_DEFINED_VERSION = 'Defined in {}, current is {}'
MWS_NOT_SUPPORT = '{} dose not support multi workspace for now, I may need to restart to support the new workspace ...'
MWS_RESTART = 'Restart'
MWS_NOT_COMPLETE = 'Workspace is not complete yet. You may try again later...'
MWS_COMPLETE = 'Workspace is complete now. You may try again...'
MWS_MAX_PRELOAD = 'Preloaded files has reached the upper limit ({}), you need to manually open the files that need to be loaded.'
PARSER_CRASH = 'Parser crashed! Last words:{}'
PARSER_UNKNOWN = 'Unknown syntax error...'
PARSER_MISS_NAME = '<name> expected.'
PARSER_UNKNOWN_SYMBOL = 'Unexpected symbol `{symbol}`.'
PARSER_MISS_SYMBOL = 'Missed symbol `{symbol}`.'
PARSER_MISS_ESC_X = 'Should be 2 hexadecimal digits.'
PARSER_UTF8_SMALL = 'At least 1 hexadecimal digit.'
PARSER_UTF8_MAX = 'Should between {min} and {max} .'
PARSER_ERR_ESC = 'Invalid escape sequence.'
PARSER_MUST_X16 = 'Should be hexadecimal digits.'
PARSER_MISS_EXPONENT = 'Missed digits for the exponent.'
PARSER_MISS_EXP = '<exp> expected.'
PARSER_MISS_FIELD = '<field> expected.'
PARSER_MISS_METHOD = '<method> expected.'
PARSER_ARGS_AFTER_DOTS = '`...` should be the last arg.'
PARSER_KEYWORD = '<keyword> cannot be used as name.'
PARSER_EXP_IN_ACTION = 'Unexpected <exp> .'
PARSER_BREAK_OUTSIDE = '<break> not inside a loop.'
PARSER_MALFORMED_NUMBER = 'Malformed number.'
PARSER_ACTION_AFTER_RETURN = '<eof> expected.'
PARSER_NO_VISIBLE_LABEL = 'No visible label `{label}` .'
PARSER_REDEFINE_LABEL = 'Label `{label}` already defined.'
PARSER_UNSUPPORT_SYMBOL = '{version} does not support this grammar.'
SYMBOL_ANONYMOUS = '<Anonymous>'
ACTION_DISABLE_DIAG = 'Disable diagnostics ({}).'
ACTION_MARK_GLOBAL = 'Mark `{}` as defined global.'
ACTION_REMOVE_SPACE = 'Clear all postemptive spaces.'
ACTION_ADD_SEMICOLON = 'Add `;` .'
ACTION_ADD_BRACKETS = 'Add brackets.'
ACTION_RUNTIME_VERSION = 'Change runtime version to {} .'
COMMAND_DISABLE_DIAG = 'Disable diagnostics'
COMMAND_MARK_GLOBAL = 'Mark defined global'
COMMAND_REMOVE_SPACE = 'Clear all postemptive spaces'
COMMAND_ADD_BRACKETS = 'Add brackets'
COMMAND_RUNTIME_VERSION = 'Change runtime version'
DEBUG_MEMORY_LEAK = "{} I'm sorry for the serious memory leak. The language service will be restarted soon."
DEBUG_RESTART_NOW = 'Restart now'
|