Commit graph

7 commits

Author SHA1 Message Date
Kevin Newton
e914fa0d10 [ruby/prism] Add warning for chained comparisons
f9f3620d44
2024-03-12 22:29:54 +00:00
Kevin Newton
e08c128417 [ruby/prism] Error messages closer to CRuby
19ffa0b980
2024-02-12 18:01:45 +00:00
Kevin Newton
f5b368df0c [ruby/prism] Better invalid token messages
8c9bed2a4d
2024-02-06 18:10:50 +00:00
Alan Wu
770b5499a5 [ruby/prism] Amend assert in pm_utf_8_codepoint(), n=0 is fine
This assert used to trip in the included test:
```
./miniruby --parser=prism -e ' "%W"\u" '
```

8c0f84db4f
2024-02-01 22:04:46 +00:00
Kevin Newton
ba06a8259a [ruby/prism] Better error messages for unexpected tokens in prefix
a35b8e45ee
2024-01-30 16:10:08 +00:00
Kevin Newton
eb5797062a [ruby/prism] Reference prism after require
0a8ff431df
2024-01-22 16:16:33 +00:00
Kevin Newton
e00f42e5d3 [ruby/prism] Return 1-indexed line numbers
ad17f58729
2024-01-22 16:13:36 +00:00