summaryrefslogtreecommitdiff
path: root/prism/defines.h
AgeCommit message (Collapse)Author
2025-01-16[ruby/prism] Increase value of PRISM_DEPTH_MAXIMUM to 10000Benjamin Quorning
The previous value of 1_000 was added with a reference to the Bison parser[^1], but the value of YYMAXDEPTH in the Bison docs is 10_000, not 1_000. [^1]: https://www.gnu.org/software/bison/manual/html_node/Memory-Management.html Fixes [Bug #21044] https://github.com/ruby/prism/commit/e098533ab4 Co-authored-by: Nony Dutton <nonydutton@gmail.com>
2025-01-11[ruby/prism] Fallthrough fallback for unknown compilersKevin Newton
https://github.com/ruby/prism/commit/cc810b1e06
2025-01-11[ruby/prism] Enable implicit fall-through errorsAlexander Momchilov
https://github.com/ruby/prism/commit/03797b84d3
2025-01-02[ruby/prism] Fix cross-compile issue with newlib on Ubuntu 24.04Masataka Pocke Kuwabara
https://github.com/ruby/prism/commit/61ebe51233
2024-12-12[ruby/prism] Use isinf on non-mingw windowsv3_4_0_rc1Kevin Newton
https://github.com/ruby/prism/commit/2f903d7865
2024-12-03Added missing header file for _finiteHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12232
2024-12-02[ruby/prism] _finitef is unavailable on Windows x86Kevin Newton
Instead cast it inline to a double on Windows. https://github.com/ruby/prism/commit/9064d872aa
2024-09-25[ruby/prism] Remove use of __assume to simplifyKevin Newton
https://github.com/ruby/prism/commit/4daf58f7a0
2024-09-25[ruby/prism] Fix up windows use of __assumeKevin Newton
https://github.com/ruby/prism/commit/9fd0c0901e
2024-09-25[ruby/prism] Support a max depth to protect against malicious payloadsKevin Newton
https://github.com/ruby/prism/commit/a474017bbe
2024-07-26[ruby/prism] Add explicit check for PRISM_HAS_NO_FILESYSTEMYuta Saito
https://github.com/ruby/prism/commit/89c22f0e6c
2024-03-26[ruby/prism] Fix typosKoichi ITO
After finding the "if if" typo, some additional typos identified by running `codespell` are also being corrected: https://github.com/codespell-project/codespell https://github.com/ruby/prism/commit/e6a34cfeeb
2024-03-25[ruby/prism] Fix up minimal build settingKevin Newton
https://github.com/ruby/prism/commit/98c85c4acb
2024-03-19[ruby/prism] [Compatibility] Improve printf formatHASUMI Hitoshi
For better compatibility, this patch suggests using __MINGW_PRINTF_FORMAT that GCC provides for MINGW environment. https://github.com/ruby/prism/commit/a3a792b64f
2024-03-13[ruby/prism] Warn for maximum number variablesKevin Newton
https://github.com/ruby/prism/commit/2cdbf81c95
2024-03-04[ruby/prism] Only define xallocator when not definedKevin Newton
https://github.com/ruby/prism/commit/919d682379
2024-03-04[ruby/prism] Document xallocator functionsKevin Newton
https://github.com/ruby/prism/commit/ee1a4acacd
2024-03-04[ruby/prism] Chage some namesHASUMI Hitoshi
- PRISM_CUSTOM_ALLOCATOR -> PRISM_XALLOCATOR - prism_custom_allocator.h -> prism_xallocator.h https://github.com/ruby/prism/commit/83b4071e5b
2024-03-04[ruby/prism] Make alloc interface replaceableHASUMI Hitoshi
- Add `x` prefix to malloc, calloc, realloc, and free (eg: malloc -> xmalloc) - By default, they are replaced with stdlib's functions at build - You can use custom functions by defining `PRISM_CUSTOM_ALLOCATOR` macro https://github.com/ruby/prism/commit/7a878af619
2024-02-22[ruby/prism] Ignore other ERANGE errors for floatsKevin Newton
https://github.com/ruby/prism/commit/4267161ca7
2024-02-20[ruby/prism] Fix windows build checking for _POSIX_MAPPED_FILESKevin Newton
https://github.com/ruby/prism/commit/acf603603f
2024-02-20[ruby/prism] Include unistd.h before cheching _POSIX_MAPPED_FILESHASUMI Hitoshi
https://github.com/ruby/prism/commit/84b3c294f0
2024-02-20[ruby/prism] Use `_POSIX_MAPPED_FILES` and `_WIN32` to know if memory map ↵HASUMI Hitoshi
interface is available in the target platform https://github.com/ruby/prism/commit/88e2ff52d4
2024-01-19[ruby/prism] Use inttypes for more accurate printf formattingKevin Newton
https://github.com/ruby/prism/commit/2a22b9b72f
2023-12-06[ruby/prism] Provide flags for changing encodingsKevin Newton
https://github.com/ruby/prism/commit/e838eaff6f
2023-11-18[ruby/prism] Revert "Ensure serialized file is little endian"Kevin Newton
https://github.com/ruby/prism/commit/4cec275fff
2023-11-17[ruby/prism] Ensure serialized file is little endianKevin Newton
https://github.com/ruby/prism/commit/0c762ee68a
2023-11-01[ruby/prism] Fix up lintKevin Newton
https://github.com/ruby/prism/commit/77d4056766
2023-11-01[ruby/prism] Last remaining missing C commentsKevin Newton
https://github.com/ruby/prism/commit/e327449db6
2023-11-01[ruby/prism] Documentation for defines, version, and prettyprintKevin Newton
https://github.com/ruby/prism/commit/e2e29bef2d
2023-11-01[ruby/prism] Documentation for pm_strncasecmpKevin Newton
https://github.com/ruby/prism/commit/26934263b7
2023-10-27[ruby/prism] Use printf attribute and then fix warningsKevin Newton
https://github.com/ruby/prism/commit/3193902c43
2023-09-27Sync to prism rename commitsKevin Newton
2023-09-27Rename YARP filepaths to prism filepathsKevin Newton