diff options
| author | yui-knk <spiketeika@gmail.com> | 2025-12-03 15:52:30 +0900 |
|---|---|---|
| committer | Yuichiro Kaneko <spiketeika@gmail.com> | 2025-12-04 08:39:54 +0800 |
| commit | e96bbd718e4aef81c749080016a44364a2b8e8c9 (patch) | |
| tree | 91820337b038d363eee5d8e6c33ca21b572faab8 /include/ruby/internal/encoding/coderange.h | |
| parent | b79ef73a3bb911c8d5ac9016092eab08b146fb3a (diff) | |
Remove needless parse.y `new_nil` macro
In the past parse.y and ripper had different `new_nil` definition
so that `new_nil` returns `nil` for ripper.
```c
// parse.y
#define new_nil(loc) NEW_NIL(loc)
// ripper
#define new_nil(loc) Qnil
```
However Rearchitect Ripper (89cfc1520717257073012ec07105c551e4b8af7c)
removed `new_nil` definition for ripper then this commit removes
needless parse.y macro and uses `NEW_NIL` directly.
Diffstat (limited to 'include/ruby/internal/encoding/coderange.h')
0 files changed, 0 insertions, 0 deletions
