summaryrefslogtreecommitdiff
path: root/prism_compile.h
diff options
context:
space:
mode:
authorHParker <HParker@github.com>2023-12-07 15:47:36 -0800
committerKevin Newton <kddnewton@gmail.com>2023-12-15 13:42:19 -0500
commit55326a915f25608be1d40ab32baa9fc57762615d (patch)
tree69dc288dcadf3e09206c287919be5c7d9711edc2 /prism_compile.h
parent655c02790ee5aca122d3593fadab5b41a42a1899 (diff)
Introduce --parser runtime flag
Introduce runtime flag for specifying the parser, ``` ruby --parser=prism ``` also update the description: ``` $ ruby --parser=prism --version ruby 3.3.0dev (2023-12-08T04:47:14Z add-parser-runtime.. 0616384c9f) +PRISM [x86_64-darwin23] ``` [Bug #20044]
Diffstat (limited to 'prism_compile.h')
-rw-r--r--prism_compile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/prism_compile.h b/prism_compile.h
index 34fac178d1..ed0c7b4c91 100644
--- a/prism_compile.h
+++ b/prism_compile.h
@@ -26,3 +26,4 @@ typedef struct pm_scope_node {
} pm_scope_node_t;
void pm_scope_node_init(const pm_node_t *node, pm_scope_node_t *scope, pm_scope_node_t *previous, pm_parser_t *parser);
+bool *rb_ruby_prism_ptr(void);