Граф коммитов

21 Коммитов

Автор SHA1 Сообщение Дата
Nathan Froyd e0c66b4749 [ruby/prism] [rust] write flag accessor functions
https://github.com/ruby/prism/commit/f2333ba4c8
2023-10-04 14:22:16 +00:00
Nathan Froyd cf2049cb55 [ruby/prism] give flag enums a non-`typedef`'d name
https://github.com/ruby/prism/commit/630af5cb0e
2023-10-04 14:22:15 +00:00
Kevin Newton d47af93110 [ruby/prism] Provide pm_parser_err_current and pm_parser_err_previous
https://github.com/ruby/prism/commit/4828c96939
2023-10-03 18:46:37 +00:00
Kevin Newton ad0e8ddbdb [ruby/prism] Consolidate diagnostic appendings
https://github.com/ruby/prism/commit/4f107d8962
2023-10-03 18:46:36 +00:00
Benoit Daloze 87dad067e0 Sync with prism CallNode#name changes
* https://github.com/ruby/prism/pull/1533
2023-10-02 09:18:56 -04:00
Nathan Froyd f88f5b59e8 [ruby/prism] remove `peek_string` to avoid subtle memory issues
https://github.com/ruby/prism/commit/f393d30ce1
2023-09-29 20:41:23 +00:00
Kevin Newton 9861ec4fb9 [ruby/prism] Mark ranges as static literal
https://github.com/ruby/prism/commit/4c77944dd4
2023-09-29 15:26:06 +00:00
Kevin Newton be63e2515b [ruby/prism] Bump version
https://github.com/ruby/prism/commit/3e44415ca2
2023-09-29 15:21:50 +00:00
Kevin Newton 100ce34331 [ruby/prism] Add a type method for quick comparison
https://github.com/ruby/prism/commit/0c7d9c3c01
2023-09-29 15:16:30 +00:00
Kevin Newton 223e9fcb27 [ruby/prism] Self should not be marked as static literal
https://github.com/ruby/prism/commit/81265ed8a7
2023-09-28 18:51:26 +00:00
Kevin Newton 56cf1633a2 [ruby/prism] Turn on static literal for assoc, hash, and array nodes
https://github.com/ruby/prism/commit/80c2c931b5
2023-09-28 18:15:35 +00:00
Kevin Newton a213d21448 Move CRuby-specific prism files to top level 2023-09-28 09:44:16 -04:00
Haldun Bayhantopcu 834560a923 [ruby/prism] Check whether the predicate is closed for conditionals
https://github.com/ruby/prism/commit/bf43006d0a
2023-09-28 13:32:02 +00:00
Haldun Bayhantopcu 7799fe90da [ruby/prism] Check for a semicolon or a newline after the inheritance operator
https://github.com/ruby/prism/commit/0326ba6775
2023-09-28 13:31:22 +00:00
Haldun Bayhantopcu 0084bac47a [ruby/prism] Fix assertion failure for fwd params after rest
https://github.com/ruby/prism/commit/f86bff6dd7
2023-09-28 13:24:57 +00:00
eileencodes 54bbf9a6e9 [PRISM] Implement MatchLastLineNode
This PR implements `MatchLastLineNode` for Prism.

Related: ruby/prism#1335
2023-09-27 18:36:23 -04:00
Nathan Froyd 2955513095 [ruby/prism] rearrange the constant pool so IDs can be used for indexing
https://github.com/ruby/prism/commit/6f243de0c7
2023-09-27 15:41:05 -04:00
Nathan Froyd 5b6a51ad9d [ruby/prism] shrink `yp_constant_t` by 8 bytes
https://github.com/ruby/prism/commit/5c01eb5e6f
2023-09-27 15:41:05 -04:00
Kevin Newton 3d0a46796b Rename YARP symbols to prism 2023-09-27 13:57:38 -04: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