diff options
Diffstat (limited to 'lang/hiphop-php/files/patch-hphp-util-parser-parser.cpp')
-rw-r--r-- | lang/hiphop-php/files/patch-hphp-util-parser-parser.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/hiphop-php/files/patch-hphp-util-parser-parser.cpp b/lang/hiphop-php/files/patch-hphp-util-parser-parser.cpp new file mode 100644 index 000000000000..87b9243d93b4 --- /dev/null +++ b/lang/hiphop-php/files/patch-hphp-util-parser-parser.cpp @@ -0,0 +1,12 @@ +diff --git a/hphp/util/parser/parser.cpp b/hphp/util/parser/parser.cpp +index 72c11bb..0132a4b 100644 +--- a/hphp/util/parser/parser.cpp ++++ hphp/util/parser/parser.cpp +@@ -186,6 +186,7 @@ void ParserBase::addLabel(const std::string &label, + labelInfo.scopeId = info.scopes.back(); + labelInfo.stmt = extractStatement(stmt); + labelInfo.loc = loc; ++ labelInfo.inTryCatchBlock = false; + info.labels[label] = labelInfo; + } + |