mirror of
https://github.com/leanprover/lean4.git
synced 2026-03-17 18:34:06 +00:00
fix: gen_constants_cpp.py: mark constants as persistent
This commit is contained in:
@@ -74,6 +74,7 @@ def main(argv=None):
|
||||
f.write('"%s"' % part)
|
||||
first = False
|
||||
f.write('};\n')
|
||||
f.write(' mark_persistent(g_%s->raw());\n' % c[0])
|
||||
f.write('}\n')
|
||||
# finalize constants
|
||||
f.write('void finalize_constants() {\n')
|
||||
|
||||
Reference in New Issue
Block a user