|
1 | 1 | //-------------------------------------------------------------------------------------------------------
|
2 | 2 | // Copyright (C) Microsoft. All rights reserved.
|
| 3 | +// Copyright (c) ChakraCore Project Contributors. All rights reserved. |
3 | 4 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
|
4 | 5 | //-------------------------------------------------------------------------------------------------------
|
5 | 6 | // parser error messages
|
|
8 | 9 |
|
9 | 10 | LSC_ERROR_MSG(1001, ERRnoMemory , "Out of memory")
|
10 | 11 | LSC_ERROR_MSG(1002, ERRsyntax , "Syntax error")
|
| 12 | +LSC_ERROR_MSG(1104, ERRsyntaxEOF , "Unexpected end of script.") |
11 | 13 | LSC_ERROR_MSG(1003, ERRnoColon , "Expected ':'")
|
12 | 14 | LSC_ERROR_MSG(1004, ERRnoSemic , "Expected ';'")
|
13 | 15 | LSC_ERROR_MSG(1005, ERRnoLparen , "Expected '('")
|
@@ -116,7 +118,9 @@ LSC_ERROR_MSG(1100, ERRUndeclaredExportName, "Export of name '%s' which has no l
|
116 | 118 | LSC_ERROR_MSG(1101, ERRModuleImportOrExportInScript, "'import' or 'export' can only be used in module code.")
|
117 | 119 | LSC_ERROR_MSG(1102, ERRInvalidAsgTarget, "Invalid left-hand side in assignment.")
|
118 | 120 | LSC_ERROR_MSG(1103, ERRMissingFrom, "Expected 'from' after import or export clause.")
|
119 |
| -//1104-1199 available for future use |
| 121 | + |
| 122 | +// 1104 ERRsyntaxEOF |
| 123 | +// 1105-1199 available for future use |
120 | 124 |
|
121 | 125 | // Generic errors intended to be re-usable
|
122 | 126 | LSC_ERROR_MSG(1200, ERRKeywordAfter, "Unexpected keyword '%s' after '%s'")
|
|
0 commit comments