Skip to content

Commit

Permalink
pos wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fglock committed Oct 16, 2024
1 parent 948a579 commit 9f79e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/perlonjava/parser/Parser.java
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ public boolean looksLikeEmptyList() {
// looks like a fractional number, not an infix `.`
ctx.logDebug("parseZeroOrMoreList looks like Number");
} else {
// subroutine call with zero arguments, followed by infix operator
// subroutine call with zero arguments, followed by infix operator: `pos = 3`
ctx.logDebug("parseZeroOrMoreList return zero at `" + tokens.get(tokenIndex) + "`");
// if (LVALUE_INFIX_OP.contains(token.text)) {
// throw new PerlCompilerException(tokenIndex, "Can't modify non-lvalue subroutine call", ctx.errorUtil);
Expand Down

0 comments on commit 9f79e4a

Please sign in to comment.