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
1765d8a8
"README.org" did not exist on "d646bfaadca47c4e1161b85e76ab44c1eb865916"
Commit
1765d8a8
authored
16 years ago
by
Erwan Jahier
Browse files
Options
Downloads
Patches
Plain Diff
Fixing the ec generator: node and function does not have the same meaning in v4.
parent
f16632c4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/licDump.ml
+12
-3
12 additions, 3 deletions
src/licDump.ml
with
12 additions
and
3 deletions
src/licDump.ml
+
12
−
3
View file @
1765d8a8
(** Time-stamp: <modified the 05/02/2009 (at 1
5:01
) by Erwan Jahier> *)
(** Time-stamp: <modified the 05/02/2009 (at 1
6:42
) by Erwan Jahier> *)
open
Printf
open
Printf
open
Lxm
open
Lxm
...
@@ -497,8 +497,17 @@ and (const_decl: Ident.long -> Eff.const -> string) =
...
@@ -497,8 +497,17 @@ and (const_decl: Ident.long -> Eff.const -> string) =
and
(
node_of_node_exp_eff
:
Eff
.
node_exp
->
string
)
=
and
(
node_of_node_exp_eff
:
Eff
.
node_exp
->
string
)
=
fun
neff
->
fun
neff
->
wrap_long_profile
(
wrap_long_profile
(
(
if
neff
.
def_eff
=
ExternEff
&&
not
(
!
Global
.
lv4
)
then
"extern "
else
""
)
^
(
if
(
if
neff
.
has_mem_eff
then
"node "
else
"function "
)
^
neff
.
def_eff
=
ExternEff
&&
not
(
!
Global
.
lv4
)
(* no extern kwd in v4... *)
then
"extern "
else
""
)
^
(
if
!
Global
.
lv4
then
(* nodeand function does not have the same meaning in v4... *)
(
if
neff
.
def_eff
=
ExternEff
then
"function "
else
"node "
)
else
(
if
neff
.
has_mem_eff
then
"node "
else
"function "
)
)
^
(
string_of_node_key_rec
neff
.
node_key_eff
)
^
(
string_of_node_key_rec
neff
.
node_key_eff
)
^
(
profile_of_node_exp_eff
neff
))
^
(
profile_of_node_exp_eff
neff
))
^
(
match
neff
.
def_eff
with
(
match
neff
.
def_eff
with
...
...
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