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

Unified Diff: runtime/vm/object.h

Issue 1574213005: Report missing semicolons after function declarations (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index d67b06a0f5b3c5c37d341b5764105c71fc0acd5d..210bee960f995fa33a6be8d38bda5427b1265afd 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -4817,14 +4817,16 @@ class LanguageError : public Error {
static RawLanguageError* NewFormatted(const Error& prev_error,
const Script& script,
intptr_t token_pos,
+ bool report_after_token,
Report::Kind kind,
Heap::Space space,
const char* format, ...)
- PRINTF_ATTRIBUTE(6, 7);
+ PRINTF_ATTRIBUTE(7, 8);
static RawLanguageError* NewFormattedV(const Error& prev_error,
const Script& script,
intptr_t token_pos,
+ bool report_after_token,
Report::Kind kind,
Heap::Space space,
const char* format, va_list args);
@@ -4847,6 +4849,9 @@ class LanguageError : public Error {
intptr_t token_pos() const { return raw_ptr()->token_pos_; }
void set_token_pos(intptr_t value) const;
+ bool report_after_token() const { return raw_ptr()->report_after_token_; }
+ void set_report_after_token(bool value);
+
void set_kind(uint8_t value) const;
RawString* message() const { return raw_ptr()->message_; }
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698