ports/lang/hiphop-php/files/patch-hphp-util-parser-parser.cpp
Martin Matuska 34d60718c8 Fix build with gd 2.1
PR:	ports/181772
2013-09-04 21:30:50 +00:00

12 lines
466 B
C++

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;
}