diff options
author | metagn <metagngn@gmail.com> | 2023-09-14 07:22:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-14 06:22:22 +0200 |
commit | ac1804aba665b34a01cb014183f8fff0ba6db738 (patch) | |
tree | 8f477a5dc8a1a37048255a4a1470c802c277c25a /testament | |
parent | 325341866f6b82cba5d81db8e39ca98b0d96fd4d (diff) | |
download | Nim-ac1804aba665b34a01cb014183f8fff0ba6db738.tar.gz |
refactor semtempl ident declarations, some special word use (#22693)
`semtempl` is refactored to combine the uses of `getIdentNode`, `onlyReplaceParams`, `isTemplParam` and most of `replaceIdentBySym` into a single `getIdentReplaceParams` proc. This might fix possible problems with injections of `nkAccQuoted`. Some special word comparison in `ast` and `semtempl` are also made more efficient.
Diffstat (limited to 'testament')
0 files changed, 0 insertions, 0 deletions