Index: src/parser.h |
=================================================================== |
--- src/parser.h (revision 9809) |
+++ src/parser.h (working copy) |
@@ -76,7 +76,9 @@ |
int end_pos() { return backing_[kEndPosOffset]; } |
int literal_count() { return backing_[kLiteralCountOffset]; } |
int property_count() { return backing_[kPropertyCountOffset]; } |
- bool strict_mode() { return backing_[kStrictModeOffset] != 0; } |
+ StrictModeFlag strict_mode_flag() { |
+ return static_cast<StrictModeFlag>(backing_[kStrictModeOffset]); |
+ } |
bool is_valid() { return backing_.length() > 0; } |