summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/make_entities_h.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/make_entities_h.py b/tools/make_entities_h.py
index 90831a9..a993246 100644
--- a/tools/make_entities_h.py
+++ b/tools/make_entities_h.py
@@ -89,14 +89,14 @@ struct cmark_entity_node {
#define CMARK_ENTITY_MAX_LENGTH 31
""")
-print("static struct cmark_entity_node cmark_entities[] = {");
+print("static const struct cmark_entity_node cmark_entities[] = {");
for line in lines:
print(line);
print("};\n");
-print("static int cmark_entities_root = " + str(mid) + ";");
+print("static const int cmark_entities_root = " + str(mid) + ";");
print("""
#ifdef __cplusplus