Skip to content

Commit 10cd854

Browse files
committed
#118 - Adjust examples in comments
1 parent 20c3e34 commit 10cd854

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

parser/zephir.lemon

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1530,12 +1530,12 @@ xx_fetch_statement(R) ::= xx_fetch_expr(E) DOTCOMMA . {
15301530
xx_ret_fetch_statement(&R, &E, status->scanner_state);
15311531
}
15321532

1533-
/* return statement */
1533+
/* return var; */
15341534
xx_return_statement(R) ::= RETURN xx_common_expr(E) DOTCOMMA . {
15351535
xx_ret_return_statement(&R, &E, status->scanner_state);
15361536
}
15371537

1538-
/* return statement */
1538+
/* return; */
15391539
xx_return_statement(R) ::= RETURN DOTCOMMA . {
15401540
xx_ret_return_statement(&R, NULL, status->scanner_state);
15411541
}
@@ -1925,7 +1925,7 @@ xx_common_expr(R) ::= NULL . {
19251925
xx_ret_literal(&R, XX_T_NULL, NULL, status->scanner_state);
19261926
}
19271927

1928-
/* y = false */
1928+
/* y = true */
19291929
xx_common_expr(R) ::= TRUE . {
19301930
xx_ret_literal(&R, XX_T_TRUE, NULL, status->scanner_state);
19311931
}

0 commit comments

Comments
 (0)