Index: src/preparser.cc |
diff --git a/src/preparser.cc b/src/preparser.cc |
index fe37cfa613ae4427179831f392c085a2f31a8c2d..36a94a3315b312d89922fde236426fc5570580bf 100644 |
--- a/src/preparser.cc |
+++ b/src/preparser.cc |
@@ -1724,7 +1724,8 @@ int DuplicateFinder::AddNumber(i::Vector<const char> key, int value) { |
return AddAsciiSymbol(key, value); |
} |
- int flags = i::ALLOW_HEX | i::ALLOW_OCTALS; |
+ int flags = i::ALLOW_HEX | i::ALLOW_OCTAL | i::ALLOW_IMPLICIT_OCTAL | |
+ i::ALLOW_BINARY; |
double double_value = StringToDouble(unicode_constants_, key, flags, 0.0); |
int length; |
const char* string; |