Reviewers: marja, arv,

Description:
Replace is_reference_error bool argument with ParseErrorType enum

This avoids accidental coercion-to-bool when calling ReportMessage()
in the parser (e.g., from pointer types), and as a bonus makes callsites
easier to read.

Please review this at https://codereview.chromium.org/939303002/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+61, -83 lines):
  M src/globals.h
  M src/parser.h
  M src/parser.cc
  M src/preparse-data.h
  M src/preparse-data.cc
  M src/preparser.h
  M src/preparser.cc


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to