| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This should hopefully make it easier to compile these nodes, and
also for static analysis tools for having a quick label.
https://github.com/ruby/yarp/commit/f086662144
|
|
|
|
|
|
|
| |
Previously this snippet would track the same newline twice, leading to
a failed assertion in yp_newline_list_append.
https://github.com/ruby/yarp/commit/1d3fe19a94
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce three new inline helper functions:
- `match_line_ending`
- `match_line_ending_at`
- `match_line_ending_addr`
These functions are similar in signature to the `peek*` functions, but
return the length of the line ending being inspected (or 0 if no line
ending was found).
These functions are then used to simplify how we're detecting line
endings throughout "src/yarp.c".
Also:
- test coverage backfilled for `__END__` comments with CRLF line endings.
- error message for invalid `%` tokens updated to not include
the potential line endings.
- some small refactorings for readability along the way
https://github.com/ruby/yarp/commit/a00067386d
|
|
|
|
|
|
| |
Previously this failed an assertion and aborted.
https://github.com/ruby/yarp/commit/a037d942a8
|
|
|
|
| |
https://github.com/ruby/yarp/commit/efb3102369
|
| |
|
|
|
|
| |
https://github.com/ruby/yarp/commit/e6cea4fa08
|
|
|
|
| |
https://github.com/ruby/yarp/commit/908244ba12
|
|
|
|
| |
https://github.com/ruby/yarp/commit/50e745767e
|
|
|
|
| |
https://github.com/ruby/yarp/commit/108d1221ef
|
| |
|
|
This commit is the initial sync of all files from ruby/yarp
into ruby/ruby. Notably, it does the following:
* Sync all ruby/yarp/lib/ files to ruby/ruby/lib/yarp
* Sync all ruby/yarp/src/ files to ruby/ruby/yarp/
* Sync all ruby/yarp/test/ files to ruby/ruby/test/yarp
|