| Index: runtime/vm/parser.h
|
| ===================================================================
|
| --- runtime/vm/parser.h (revision 26669)
|
| +++ runtime/vm/parser.h (working copy)
|
| @@ -151,7 +151,7 @@
|
| const char* message_header,
|
| const char* format, ...) PRINTF_ATTRIBUTE(4, 5);
|
|
|
| - // Build an error object containing a formatted error or warning message.
|
| + // Build an error object containing a formatted error message.
|
| // A null script means no source and a negative token_pos means no position.
|
| static RawError* FormatError(const Script& script,
|
| intptr_t token_pos,
|
| @@ -302,16 +302,13 @@
|
| const char* format,
|
| va_list args);
|
|
|
| - // Reports error/warning msg at location of current token in current script.
|
| + // Reports error msg at location of current token in current script.
|
| void ErrorMsg(const char* msg, ...) PRINTF_ATTRIBUTE(2, 3);
|
| - void Warning(const char* msg, ...) PRINTF_ATTRIBUTE(2, 3);
|
| void Unimplemented(const char* msg);
|
|
|
| // Reports error message at given location in current script.
|
| void ErrorMsg(intptr_t token_pos, const char* msg, ...) const
|
| PRINTF_ATTRIBUTE(3, 4);
|
| - void Warning(intptr_t token_pos, const char* msg, ...)
|
| - PRINTF_ATTRIBUTE(3, 4);
|
|
|
| // Reports an already formatted error message.
|
| static void ErrorMsg(const Error& error);
|
|
|