summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lahfa2024-04-17 17:35:13 +0200
committerRyan Lahfa2024-04-18 16:03:53 +0200
commit00fb0b9dee66a5ba012170c3313454934c976d5e (patch)
tree9a63c07326d80ab52900498bc0b0b878c5ba9ce0
parentbc808d128811396de40eb251528640e127f83fad (diff)
fix(backends/lean): extract more keywords from `lstlean.tex`
Taken from https://github.com/leanprover/lean4/blob/master/doc/latex/lstlean.tex#L33 and https://github.com/leanprover/lean4/blob/master/doc/latex/lstlean.tex#L36-L43. This will not extract the tactics. Signed-off-by: Ryan Lahfa <ryan.lahfa@inria.fr>
Diffstat (limited to '')
-rw-r--r--compiler/ExtractBase.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/ExtractBase.ml b/compiler/ExtractBase.ml
index ddffb1c2..e30c4b36 100644
--- a/compiler/ExtractBase.ml
+++ b/compiler/ExtractBase.ml
@@ -916,6 +916,8 @@ let keywords () =
| Lean ->
[
"Pi";
+ "Prop";
+ "Sort";
"Type";
"abbrev";
"alias";