diff options
Diffstat (limited to 'internal/parse.h')
-rw-r--r-- | internal/parse.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/parse.h b/internal/parse.h index 4a9c4acf8a..fdf2a10183 100644 --- a/internal/parse.h +++ b/internal/parse.h @@ -12,6 +12,13 @@ #include "rubyparser.h" #include "internal/static_assert.h" +// The default parser to use for Ruby code. +// 0: parse.y +// 1: Prism +#ifndef RB_DEFAULT_PARSER +#define RB_DEFAULT_PARSER 0 +#endif + #ifdef UNIVERSAL_PARSER #define rb_encoding const void #endif |