summary refs log tree commit diff stats
path: root/testament
diff options
context:
space:
mode:
authormetagn <metagngn@gmail.com>2023-09-14 07:22:22 +0300
committerGitHub <noreply@github.com>2023-09-14 06:22:22 +0200
commitac1804aba665b34a01cb014183f8fff0ba6db738 (patch)
tree8f477a5dc8a1a37048255a4a1470c802c277c25a /testament
parent325341866f6b82cba5d81db8e39ca98b0d96fd4d (diff)
downloadNim-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