Skip to content

Commit a3934a0

Browse files
committed
1 parent a77a094 commit a3934a0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/parser/expr.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ module.exports = {
6565
*/
6666
,read_expr_item: function() {
6767

68+
if (this.token === this.tok.T_STRING) {
69+
var tokTxt = this.text();
70+
if (tokTxt === 'b' || tokTxt === 'B') this.token = this.tok.T_STRING_CAST;
71+
}
72+
6873
switch(this.token) {
6974

7075
case '@':

0 commit comments

Comments
 (0)