Skip to content

Commit 2064dc1

Browse files
committed
Fix for undefined for Node_Expr_BitwiseAnd
Fix for #62
1 parent 817d2db commit 2064dc1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

src/parser/yyn_expr.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,28 @@ PHP.Parser.prototype.Node_Expr_AssignMod = function() {
161161

162162
};
163163

164+
PHP.Parser.prototype.Node_Expr_AssignBitwiseAnd = function() {
165+
166+
return {
167+
type: "Node_Expr_AssignBitwiseAnd",
168+
variable: arguments[ 0 ],
169+
expr: arguments[ 1 ],
170+
attributes: arguments[ 2 ]
171+
};
172+
173+
};
174+
175+
PHP.Parser.prototype.Node_Expr_AssignBitwiseOr = function() {
176+
177+
return {
178+
type: "Node_Expr_AssignBitwiseOr",
179+
variable: arguments[ 0 ],
180+
expr: arguments[ 1 ],
181+
attributes: arguments[ 2 ]
182+
};
183+
184+
};
185+
164186
PHP.Parser.prototype.Node_Expr_Plus = function() {
165187

166188
return {

0 commit comments

Comments
 (0)