Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Unified Diff: runtime/vm/parser.h

Issue 23465004: More cleanup related to malformed and malbounded types. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « runtime/vm/os_linux.cc ('k') | runtime/vm/parser.cc » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698