1 #ifndef RUBY_PARSER_NODE_H
2 #define RUBY_PARSER_NODE_H 1
4 * This is a header file used by only "parse.y"
6 #include "rubyparser.h"
7 #include "internal/compilers.h"
9 #if defined(__cplusplus)
12 } /* satisfy cc-mode */
16 static inline rb_code_location_t
17 code_loc_gen(const rb_code_location_t
*loc1
, const rb_code_location_t
*loc2
)
19 rb_code_location_t loc
;
20 loc
.beg_pos
= loc1
->beg_pos
;
21 loc
.end_pos
= loc2
->end_pos
;
25 #if defined(__cplusplus)
27 { /* satisfy cc-mode */
32 #endif /* RUBY_PARSER_NODE_H */