Skip to content

Commit 9cdb37b

Browse files
committed
Fix translations due to new tString constructor
1 parent ec45ca3 commit 9cdb37b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

erasure-plugin/clean_extraction.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fi
99

1010
shopt -s nullglob # make the for loop do nothnig when there is no *.ml* files
1111

12-
files=`cat ../template-coq/_PluginProject | grep "^[^#].*mli\?$" | sed -e s/gen-src/src/`
12+
files=`cat ../template-coq/_PluginProject.in | grep "^[^#].*mli\?$" | sed -e s/gen-src/src/`
1313

1414
if [[ ! -f "src/metacoq_erasure_plugin.cmxs" ||
1515
"src/metacoq_erasure_plugin.cmxs" -ot "theories/Extraction.vo" ]]

pcuic/clean_extraction.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ shopt -s nullglob # make the for loop do nothnig when there is no *.ml* files
44

55
echo "Cleaning result of extraction"
66

7-
files=`cat ../template-coq/_PluginProject ../checker/_PluginProject.in | grep "^[^#].*mli\?$" | sed -e s/gen-src/src/`
7+
files=`cat ../template-coq/_PluginProject.in ../checker/_PluginProject.in | grep "^[^#].*mli\?$" | sed -e s/gen-src/src/`
88

99
cd src
1010
# Move extracted modules to build the certicoq compiler plugin

safechecker-plugin/clean_extraction.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fi
99

1010
shopt -s nullglob # make the for loop do nothnig when there is no *.ml* files
1111

12-
files=`cat ../template-coq/_PluginProject | grep "^[^#].*mli\?$" | sed -e s/gen-src/src/`
12+
files=`cat ../template-coq/_PluginProject.in | grep "^[^#].*mli\?$" | sed -e s/gen-src/src/`
1313

1414
if [[ ! -f "src/metacoq_safechecker_plugin.cmxs" ||
1515
"src/metacoq_safechecker_plugin.cmxs" -ot "theories/Extraction.vo" ]]

translations/param_binary.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Fixpoint tsl_rec1_app (app : list term) (E : tsl_table) (t : term) : term :=
145145
| tFix _ _ | tCoFix _ _ => todo "tsl"
146146
| tVar _ | tEvar _ _ => todo "tsl"
147147
| tLambda _ _ _ => tVar "impossible"
148-
| tInt _ | tFloat _ | tArray _ _ _ _ => todo "tsl"
148+
| tInt _ | tFloat _ | tArray _ _ _ _ | tString _ => todo "tsl"
149149
end
150150
in apply app t1
151151
end.

translations/param_original.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Fixpoint tsl_rec1_app (app : option term) (E : tsl_table) (t : term) : term :=
106106
| tFix _ _ | tCoFix _ _ => todo "tsl"
107107
| tVar _ | tEvar _ _ => todo "tsl"
108108
| tLambda _ _ _ => tVar "impossible"
109-
| tInt _ | tFloat _ | tArray _ _ _ _ => todo "tsl"
109+
| tInt _ | tFloat _ | tArray _ _ _ _ | tString _ => todo "tsl"
110110
end in
111111
match app with Some t' => mkApp t1 (t' {3 := tRel 1} {2 := tRel 0})
112112
| None => t1 end

0 commit comments

Comments
 (0)