[ruby/yarp] Ensure token cannot begin an expression
https://github.com/ruby/yarp/commit/837522217c
This commit is contained in:
parent
3d032cf3e8
commit
9c61e0c831
Notes:
git
2023-08-17 00:48:10 +00:00
@ -7476,6 +7476,7 @@ token_begins_expression_p(yp_token_type_t type) {
|
||||
case YP_TOKEN_KEYWORD_END:
|
||||
case YP_TOKEN_KEYWORD_ELSE:
|
||||
case YP_TOKEN_KEYWORD_ELSIF:
|
||||
case YP_TOKEN_KEYWORD_ENSURE:
|
||||
case YP_TOKEN_KEYWORD_THEN:
|
||||
case YP_TOKEN_KEYWORD_RESCUE:
|
||||
case YP_TOKEN_KEYWORD_WHEN:
|
||||
|
Loading…
x
Reference in New Issue
Block a user