| Index: runtime/vm/parser.h
|
| ===================================================================
|
| --- runtime/vm/parser.h (revision 4770)
|
| +++ runtime/vm/parser.h (working copy)
|
| @@ -192,7 +192,18 @@
|
| // Reports error message at given location.
|
| void ErrorMsg(intptr_t token_index, const char* msg, ...);
|
| void Warning(intptr_t token_index, const char* msg, ...);
|
| + // Concatenates two error messages, the previous and the current one.
|
| + void AppendErrorMsg(
|
| + const Error& prev_error, intptr_t token_index, const char* format, ...);
|
|
|
| + // Same as FormatError, but appends the new error to the 'prev_error'.
|
| + static RawError* FormatErrorWithAppend(const Error& prev_error,
|
| + const Script& script,
|
| + intptr_t token_index,
|
| + const char* message_header,
|
| + const char* format,
|
| + va_list args);
|
| +
|
| const Instance& EvaluateConstExpr(AstNode* expr);
|
| void RunStaticFieldInitializer(const Field& field);
|
| RawObject* EvaluateConstConstructorCall(
|
|
|