Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lustre-v6
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
verimag
synchrone
lustre-v6
Commits
52f682a7
Commit
52f682a7
authored
5 years ago
by
erwan
Browse files
Options
Downloads
Patches
Plain Diff
Fix: generate correct C code for lustre programs that have var names containing quotes
parent
96f545de
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
lv6-ref-man/lv6-ref-man.pdf
+0
-0
0 additions, 0 deletions
lv6-ref-man/lv6-ref-man.pdf
src/soc2cIdent.ml
+3
-1
3 additions, 1 deletion
src/soc2cIdent.ml
src/socExecValue.ml
+1
-1
1 addition, 1 deletion
src/socExecValue.ml
with
4 additions
and
2 deletions
lv6-ref-man/lv6-ref-man.pdf
+
0
−
0
View file @
52f682a7
No preview for this file type
This diff is collapsed.
Click to expand it.
src/soc2cIdent.ml
+
3
−
1
View file @
52f682a7
(* Time-stamp: <modified the 2
1
/0
7
/201
7
(at
17:04
) by Erwan Jahier> *)
(* Time-stamp: <modified the 2
2
/0
5
/201
9
(at
09:43
) by Erwan Jahier> *)
open
Soc
let
colcol
=
Str
.
regexp
"::"
let
prime
=
Str
.
regexp
"'"
let
id2s
id
=
(* XXX Refuser les noms de module à la con plutot *)
let
str
=
match
Str
.
split
colcol
id
with
...
...
@@ -14,6 +15,7 @@ let id2s id = (* XXX Refuser les noms de module à la con plutot *)
|
_
->
id
in
let
str
=
Str
.
global_replace
colcol
"_"
str
in
let
str
=
Str
.
global_replace
prime
"_prime"
str
in
str
let
long2s
l
=
id2s
(
Lv6Id
.
string_of_long
false
l
)
...
...
This diff is collapsed.
Click to expand it.
src/socExecValue.ml
+
1
−
1
View file @
52f682a7
(* Time-stamp: <modified the 2
5
/0
3
/201
8
(at
22:16
) by Erwan Jahier> *)
(* Time-stamp: <modified the 2
2
/0
5
/201
9
(at
09:37
) by Erwan Jahier> *)
let
dbg
=
(
Lv6Verbose
.
get_flag
"exec"
)
...
...
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