Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7a6ca09

Browse files
committed
Merge pull request niklasvh#63 from maxvyaznikov/master
Fix for undefined for Node_Expr_BitwiseAnd
2 parents 817d2db + 2064dc1 commit 7a6ca09

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)

AltStyle によって変換されたページ (->オリジナル) /