Skip to content

Commit 4dcc871

Browse files
committed
remove dead code (parsed from expr)
1 parent 6f778bb commit 4dcc871

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/parser/scalar.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,6 @@ module.exports = {
103103
case this.tok.T_DNUMBER: // double
104104
var result = this.node('number');
105105
var value = this.text();
106-
if (this.token === '-') {
107-
this.next().expect([this.tok.T_LNUMBER, this.tok.T_DNUMBER]);
108-
value += this.text();
109-
}
110106
this.next();
111107
result = result(value);
112108
return result;

0 commit comments

Comments
 (0)