@@ -7,9 +7,7 @@
|
7 | 7 | #ifndef MRUBY_PRESYM_H |
8 | 8 | #define MRUBY_PRESYM_H |
9 | 9 | |
10 | | -#if defined(MRB_NO_PRESYM) |
11 | | -# include <mruby/presym/disable.h> |
12 | | -#elif !defined(MRB_PRESYM_SCANNING) |
| 10 | +#if !defined(MRB_PRESYM_SCANNING) |
13 | 11 | # include <mruby/presym/enable.h> |
14 | 12 | #endif |
15 | 13 | |
@@ -32,10 +30,9 @@
|
32 | 30 | * can be specified for it). Other than that, describe only word characters |
33 | 31 | * excluding leading and ending punctuation. |
34 | 32 | * |
35 | | - * These macros are expanded to `mrb_intern_lit` if presym is disabled, |
36 | | - * therefore the mruby state variable is required. The above macros can be |
37 | | - * used when the variable name is `mrb`. If you want to use other variable |
38 | | - * names, you need to use macros with `_2` suffix, such as `MRB_SYM_2`. |
| 33 | + * These macros are expanded to compile-time integer constants. |
| 34 | + * The `_2` suffix variants (e.g., `MRB_SYM_2`) accept an explicit |
| 35 | + * mruby state parameter but currently ignore it. |
39 | 36 | */ |
40 | 37 | |
41 | 38 | #endif /* MRUBY_PRESYM_H */ |