diff options
author | Earlopain <[email protected]> | 2025-01-14 20:20:05 +0100 |
---|---|---|
committer | git <[email protected]> | 2025-01-14 20:33:11 +0000 |
commit | 56242ba495246e95dd5178f2ec101c1005c10afc (patch) | |
tree | f491cf9f40d94af3eef0c27115807e3991db9d4c /scheduler.c | |
parent | 51d3d6ac8c2e3b6b6dacd80a9ddf11adc46fde08 (diff) |
Better handle regexp in the parser translator
Turns out, it was already almost correct. If you disregard \c and \M style escapes, only a single character is allowed to be escaped in a regex so most tests passed already.
There was also a mistake where the wrong value was constructed for the ast, this is now fixed.
One test fails because of this, but I'm fairly sure it is because of a parser bug. For `/\“/`, the backslash is supposed to be removed because it is a multibyte character. But tbh,
I don't entirely understand all the rules.
Fixes more than half of the remaining ast differences for rubocop tests
Diffstat (limited to 'scheduler.c')
0 files changed, 0 insertions, 0 deletions