summaryrefslogtreecommitdiff
path: root/numeric.rb
diff options
context:
space:
mode:
authorMike Dalessio <mike.dalessio@gmail.com>2023-09-03 21:27:43 -0400
committergit <svn-admin@ruby-lang.org>2023-09-07 16:36:56 +0000
commit4efcaf956e27df365a1cf9e0cbb8d9a68eeb6995 (patch)
tree532e041de8290eb5c8e242b249084abfca331bda /numeric.rb
parent2d37b44603f2031f0e95073ab77b418142c9eddd (diff)
[ruby/yarp] Extract error messages into diagnostic.c and use canonical message IDs
The parser now passes around `yp_diagnostic_id_t` for diagnostic messages instead of character strings, and we rely on the function `diagnostic_message()` to resolve that to a string. In addition, many messages were edited so that the parser expresses coordinate ideas in similar form [1] using consistent voice and typographic conventions. Closes https://github.com/ruby/yarp/pull/1379, and makes progress on #941. [1] Strunk & White rule 19 https://github.com/ruby/yarp/commit/0b6dd85bf1
Diffstat (limited to 'numeric.rb')
0 files changed, 0 insertions, 0 deletions