Skip to content

Commit 05b0eb3

Browse files
committed
add some references
1 parent 1e0a01d commit 05b0eb3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lexer/property.js

+3
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@ module.exports = {
99
if (ch === '-') {
1010
ch = this.input();
1111
if (ch === '>') {
12+
// https://github.com/php/php-src/blob/master/Zend/zend_language_scanner.l#L1296
1213
return this.tok.T_OBJECT_OPERATOR;
1314
}
1415
this.unput(1);
1516
} else if (this.is_LABEL_START()) {
17+
// https://github.com/php/php-src/blob/master/Zend/zend_language_scanner.l#L1300
1618
this.consume_LABEL();
1719
this.popState();
1820
return this.tok.T_STRING;
1921
}
22+
// https://github.com/php/php-src/blob/master/Zend/zend_language_scanner.l#L1306
2023
this.popState();
2124
this.unput(1);
2225
return false;

0 commit comments

Comments
 (0)