lean4-htt/tests/lean/run/scopedCommandAfterOpen.lean
Leonardo de Moura 79e6732fc6 fix: update tokenTable at withNamespace parser combinator
It also moves `withOpen` and `withOpenDecl` applications to simplify
their definitions and make sure we do not need to reset the cache.
2021-08-23 09:41:36 -07:00

13 lines
145 B
Text

namespace Internal
scoped macro "foo" : command => `(#print "foo")
end Internal
section
open Internal
foo
end
section
open Internal in
foo
end