Reviewers: Mads Ager,

Description:
Ensure that scanner state is correctly reset when an error is encountered.

Add a scope object to ensure that leaving a literal scanning prematurely
will clean up after itself.
Also reset the literal buffer if a scanner is reinitialized with a new
source code.

Please review this at http://codereview.chromium.org/3137037/show

Affected files:
  M src/scanner.h
  M src/scanner.cc
  M src/utils.h


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to