TSUYUSATO Kitsune
f6fbb9fec5
[ruby/prism] Use `0` for the default valie of `current_param_name`
...
https://github.com/ruby/prism/commit/896915de24
2023-11-28 17:27:10 +00:00
TSUYUSATO Kitsune
b5796d7b11
[ruby/prism] Check circular references in default values of params
...
Fix https://github.com/ruby/prism/pull/1637
https://github.com/ruby/prism/commit/0172d69cba
2023-11-28 17:27:09 +00:00
Kevin Newton
c798943a4a
[ruby/prism] Move DATA parsing into its own parse result field
...
https://github.com/ruby/prism/commit/42b60b6e95
2023-11-28 13:25:48 +00:00
Mike Dalessio
d6d1a1839a
[ruby/prism] fix: nested heredoc dedentation use-after-free
...
Because the lex mode may be freed when popped, we need to store off
this value for dedentation.
https://github.com/ruby/prism/commit/64007322f5
Co-authored-by: Kevin Newton <kddnewton@gmail.com>
2023-11-14 14:11:55 +00:00
Kevin Newton
d7d3243364
[ruby/prism] Properly support the start line option
...
https://github.com/ruby/prism/commit/33cc75a4b7
2023-11-03 10:13:50 -04:00
Kevin Newton
95d3f2eaec
[ruby/prism] Properly support the suppress_warnings option
...
https://github.com/ruby/prism/commit/84229529d7
2023-11-03 10:13:49 -04:00
Kevin Newton
690f3bbf5d
[ruby/prism] Last remaining missing C comments
...
https://github.com/ruby/prism/commit/e327449db6
2023-11-01 13:10:29 -04:00
Kevin Newton
17923cc876
[ruby/prism] Even more C file documentation
...
https://github.com/ruby/prism/commit/9c648ce615
2023-11-01 13:10:29 -04:00
Kevin Newton
7c8d939680
[ruby/prism] Start better documenting C API
...
https://github.com/ruby/prism/commit/2b6e661bbc
2023-11-01 13:10:29 -04:00
Kevin Newton
82acca915a
[ruby/prism] Ensure no extra multi-target nodes are created
...
https://github.com/ruby/prism/commit/ec31fd827f
2023-10-26 14:58:55 -04:00
Kevin Newton
5523a23469
[ruby/prism] Attach magic comments to the parse result
...
https://github.com/ruby/prism/commit/c7ef25a79a
2023-10-16 15:40:19 -07:00
Kevin Newton
ad46fc093b
[ruby/prism] Calculate heredoc common whitespace while lexing
...
https://github.com/ruby/prism/commit/c3f43b64a3
2023-10-13 15:31:30 -04:00
Kevin Newton
1a941c70e4
[ruby/prism] Track current_string to pass forward for character literals
...
https://github.com/ruby/prism/commit/be1d8ae8bb
2023-10-13 15:31:30 -04:00
Matt Valentine-House
7db4ce13ed
[ruby/prism] Introduce transparent scopes.
...
A transparent scope is a scope that cannot have local variables added to
it's local table. When a local is added to it's table, it instead gets
added to the first non-transparent parent scope.
This is used in for loops to ensure the correct depth for local
variables inside the body
https://github.com/ruby/prism/commit/ddb8e82253
Co-Authored-By: Kevin Newton <kddnewton@gmail.com>
2023-10-06 12:21:03 +00:00
Kevin Newton
4f73a7c2f7
Sync to prism rename commits
2023-09-27 13:57:38 -04:00
Kevin Newton
8ab56869a6
Rename YARP filepaths to prism filepaths
2023-09-27 13:57:38 -04:00