mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00

Introduce Universal Parser mode for the parser. This commit includes these changes: * Introduce `UNIVERSAL_PARSER` macro. All of CRuby related functions are passed via `struct rb_parser_config_struct` when this macro is enabled. * Add CI task with 'cppflags=-DUNIVERSAL_PARSER' for ubuntu.
8 lines
224 B
C
8 lines
224 B
C
#ifndef RIPPER_INIT_H
|
|
#define RIPPER_INIT_H
|
|
|
|
VALUE ripper_get_value(VALUE v);
|
|
ID ripper_get_id(VALUE v);
|
|
PRINTF_ARGS(void ripper_compile_error(struct parser_params*, const char *fmt, ...), 2, 3);
|
|
|
|
#endif /* RIPPER_INIT_H */
|