Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Lustrec - public version
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LustreC
Lustrec - public version
Commits
042dc586
Commit
042dc586
authored
8 years ago
by
Pierre Loic Garoche
Browse files
Options
Downloads
Patches
Plain Diff
Revert some ocaml code to ocaml 4.01 compatibility
parent
3ebf9aa2
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/Makefile
+1
-1
1 addition, 1 deletion
src/Makefile
src/backends/C/c_backend_common.ml
+1
-1
1 addition, 1 deletion
src/backends/C/c_backend_common.ml
src/backends/Horn/horn_backend.ml
+1
-1
1 addition, 1 deletion
src/backends/Horn/horn_backend.ml
with
3 additions
and
3 deletions
src/Makefile
+
1
−
1
View file @
042dc586
OCAMLBUILD
=
/
home/ploc/.opam/4.03.0+trunk
/bin/ocamlbuild
-classic-display
-use-ocamlfind
-no-links
OCAMLBUILD
=
/
usr
/bin/ocamlbuild
-classic-display
-use-ocamlfind
-no-links
prefix
=
/home/ploc/Local
prefix
=
/home/ploc/Local
exec_prefix
=
${
prefix
}
exec_prefix
=
${
prefix
}
...
...
This diff is collapsed.
Click to expand it.
src/backends/C/c_backend_common.ml
+
1
−
1
View file @
042dc586
...
@@ -24,7 +24,7 @@ let print_version fmt =
...
@@ -24,7 +24,7 @@ let print_version fmt =
(
if
!
Options
.
mpfr
then
"MPFR multi-precision"
else
"(double) floating-point"
)
(
if
!
Options
.
mpfr
then
"MPFR multi-precision"
else
"(double) floating-point"
)
let
file_to_module_name
basename
=
let
file_to_module_name
basename
=
let
baseNAME
=
String
.
uppercase
_ascii
basename
in
let
baseNAME
=
String
.
uppercase
basename
in
let
baseNAME
=
Str
.
global_replace
(
Str
.
regexp
"
\\
.
\\
|
\\
"
)
"_"
baseNAME
in
let
baseNAME
=
Str
.
global_replace
(
Str
.
regexp
"
\\
.
\\
|
\\
"
)
"_"
baseNAME
in
baseNAME
baseNAME
...
...
This diff is collapsed.
Click to expand it.
src/backends/Horn/horn_backend.ml
+
1
−
1
View file @
042dc586
...
@@ -52,7 +52,7 @@ end
...
@@ -52,7 +52,7 @@ end
let
load_file
f
=
let
load_file
f
=
let
ic
=
open_in
f
in
let
ic
=
open_in
f
in
let
n
=
in_channel_length
ic
in
let
n
=
in_channel_length
ic
in
let
s
=
Bytes
.
create
n
in
let
s
=
String
.
create
n
in
really_input
ic
s
0
n
;
really_input
ic
s
0
n
;
close_in
ic
;
close_in
ic
;
(
s
)
(
s
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment