summaryrefslogtreecommitdiff
path: root/prism/internal/parser.h
AgeCommit message (Collapse)Author
2026-04-29[ruby/prism] Fix array-bounds error with GCC 9Benoit Daloze
* In file included from /usr/include/string.h:535, from include/prism/internal/arena.h:12, from src/prism.c:6: In function 'memset', inlined from 'lex_mode_push_regexp' at src/prism.c:290:5: .../string_fortified.h:59:10: error: '__builtin_memset' offset [26, 34] from the object at 'lex_mode' is out of the bounds of referenced subobject 'breakpoints' with type 'uint8_t[7]' {aka 'unsigned char[7]'} at offset 18 [-Werror=array-bounds] https://github.com/ruby/prism/commit/2908c1c6c5
2026-03-20[ruby/prism] Provide a single-entry cache on parser for avoiding constant hashesKevin Newton
https://github.com/ruby/prism/commit/56cdcbbb8c
2026-03-20[ruby/prism] Clean up documentationKevin Newton
https://github.com/ruby/prism/commit/94d16c61cf
2026-03-20[ruby/prism] pm_parser_init and pm_parser_cleanup -> internalKevin Newton
https://github.com/ruby/prism/commit/879139efc9
2026-03-20[ruby/prism] Make the constant pool fully opaqueKevin Newton
https://github.com/ruby/prism/commit/250b2c9ac5
2026-03-20[ruby/prism] Make arena fully opaqueKevin Newton
https://github.com/ruby/prism/commit/93085a52d9
2026-03-20[ruby/prism] Fix up buildKevin Newton
https://github.com/ruby/prism/commit/bbc2023d0b
2026-03-20[ruby/prism] Move comment into its own sectionKevin Newton
https://github.com/ruby/prism/commit/1ddff36b54
2026-03-20[ruby/prism] Make pm_comment_t opaqueKevin Newton
https://github.com/ruby/prism/commit/0b17e49b8b
2026-03-20[ruby/prism] Move some options internal metadata internalKevin Newton
https://github.com/ruby/prism/commit/da00377f7d
2026-03-20[ruby/prism] Move encoding entirely internalKevin Newton
https://github.com/ruby/prism/commit/10ebcaf908
2026-03-20[ruby/prism] Move static literals entirely internalKevin Newton
https://github.com/ruby/prism/commit/7cb8b59590
2026-03-20[ruby/prism] Make parser an opaque pointerKevin Newton
https://github.com/ruby/prism/commit/3da08fd638