diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-09-14 15:16:55 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-09-14 15:16:55 +0200 |
| commit | 0b5d0eb92c5be2f0ddb2fa73990f31e5654e57fe (patch) | |
| tree | 358e331945b8206ed4a72703e3aedfe8ea7cdcdb /internal/cond/compile.go | |
| parent | 1d3f2d1e4c59867024470d3444e12698b7ebb22e (diff) | |
| download | krino-0.0.5.tar.gz krino-0.0.5.zip | |
krino: 0.0.5 — keyword cache, t and d in reviewv0.0.5
Diffstat (limited to 'internal/cond/compile.go')
| -rw-r--r-- | internal/cond/compile.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/cond/compile.go b/internal/cond/compile.go index 590d61a..94118ac 100644 --- a/internal/cond/compile.go +++ b/internal/cond/compile.go @@ -266,6 +266,7 @@ func (c *compiler) compileContent(n *sexp.Node) *node { continue } keywords = append(keywords, keyword{norm: normed, src: a.Text}) + c.cond.Keywords = append(c.cond.Keywords, Keyword{Opt: c.opt, Norm: normed}) } if bad { return nil |
