summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorRyan Lahfa2024-04-17 17:21:30 +0200
committerRyan Lahfa2024-04-17 17:21:30 +0200
commit905ec4f1d62734af956fd54e2aa3872e3c8a8e09 (patch)
treefb9c78a66d8e55c1f42469f7fee963cc9dab3fd0 /compiler
parent67502f5530b42b11e8580c8464c220664afb4ec4 (diff)
chore(backends/lean): sort the keyword list
OCD. :D Signed-off-by: Ryan Lahfa <ryan.lahfa@inria.fr>
Diffstat (limited to 'compiler')
-rw-r--r--compiler/ExtractBase.ml8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/ExtractBase.ml b/compiler/ExtractBase.ml
index 40423cb5..92206ece 100644
--- a/compiler/ExtractBase.ml
+++ b/compiler/ExtractBase.ml
@@ -915,6 +915,7 @@ let keywords () =
]
| Lean ->
[
+ "Type";
"as";
"by";
"class";
@@ -925,30 +926,29 @@ let keywords () =
"else";
"end";
"for";
+ "from";
"have";
"if";
+ "import";
"inductive";
"instance";
- "import";
"let";
"macro";
"match";
"namespace";
"opaque";
+ "opaque_defs";
"open";
"run_cmd";
"set_option";
"simp";
"structure";
"syntax";
- "from";
"termination_by";
"then";
- "Type";
"unsafe";
"where";
"with";
- "opaque_defs";
]
| HOL4 ->
[