How to reuse rule in different grammar file? #706
Answered
by
tomtau
appsubscribe
asked this question in
Q&A
-
I'd like to know in the case that we have many grammar files sharing the same custom rule. How can I re-use it? a.pest CUSTOM_ID = { 'a'..'z' } b.pest CUSTOM_ID = { 'a'..'z' } Reading through the doc but still not sure how to do it. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
tomtau
Sep 8, 2022
Replies: 1 comment 4 replies
-
It's not yet possible, but there's a WIP PR by @bobbbay : #660 |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
tomtau
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's not yet possible, but there's a WIP PR by @bobbbay : #660