|
|
|
@ -122,7 +122,7 @@ partial def findForbiddenTactics (inputCtx : Parser.InputContext) (workerState :
|
|
|
|
|
-- Atoms might be tactic names or other keywords.
|
|
|
|
|
-- Note: We whitelisted known keywords because we cannot
|
|
|
|
|
-- distinguish keywords from tactic names.
|
|
|
|
|
let allowed := ["with", "fun", "at", "only", "by", "to", "generalizing", "says"]
|
|
|
|
|
let allowed := GameServer.ALLOWED_KEYWORDS
|
|
|
|
|
-- Ignore syntax elements that do not start with a letter or are listed above.
|
|
|
|
|
if 0 < val.length ∧ val.data[0]!.isAlpha ∧ not (allowed.contains val) then
|
|
|
|
|
-- Treat `simp?` and `simp!` like `simp`
|
|
|
|
|