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
68afaf48
Commit
68afaf48
authored
16 years ago
by
Erwan Jahier
Browse files
Options
Downloads
Patches
Plain Diff
Do not issue an 'assert false' the user is asking (at the lus2lic
command-line) to compile a node in a package that does not exist.
parent
9ad13d8d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/TODO
+0
-9
0 additions, 9 deletions
src/TODO
src/syntaxTab.ml
+5
-5
5 additions, 5 deletions
src/syntaxTab.ml
with
5 additions
and
14 deletions
src/TODO
+
0
−
9
View file @
68afaf48
...
@@ -78,21 +78,12 @@ les operateurs aritmetiques, bof.
...
@@ -78,21 +78,12 @@ les operateurs aritmetiques, bof.
***********************************************************************************
***********************************************************************************
*** a faire
*** a faire
* les types sont dumpés 2 fois
(cf par ex ../lus2lic --compile-all-items should_work/packEnvTest/packages2.lus)
une fois via le provide, une autre fois via le body...
* le clock checking
* le clock checking
* le merge
* le merge
* les itérateurs
* les itérateurs
* lus2lic -n MainPack::preceed should_work/packEnvTest/packages.lus
leve une exception au lieu d'une zoulie erreur
(le package s'appelle mainPack en fait, pas MainPack!)...
o Lazycompiler.solve_x_idref
o Lazycompiler.solve_x_idref
Comment se faisse que je n'ai pas besoin de me servir de cet
Comment se faisse que je n'ai pas besoin de me servir de cet
...
...
This diff is collapsed.
Click to expand it.
src/syntaxTab.ml
+
5
−
5
View file @
68afaf48
(** Time-stamp: <modified the 1
4
/05/2008 (at 10:0
4
) by Erwan Jahier> *)
(** Time-stamp: <modified the 1
6
/05/2008 (at 10:
2
0) by Erwan Jahier> *)
(**
(**
Table des infos sources : une couche au dessus de SyntaxTree pour mieux
Table des infos sources : une couche au dessus de SyntaxTree pour mieux
...
@@ -95,14 +95,14 @@ let (pack_body_env: t -> Ident.pack_name -> SymbolTab.t) =
...
@@ -95,14 +95,14 @@ let (pack_body_env: t -> Ident.pack_name -> SymbolTab.t) =
fun
this
p
->
fun
this
p
->
try
(
Hashtbl
.
find
this
.
st_pack_mng_tab
p
)
.
pm_body_stab
try
(
Hashtbl
.
find
this
.
st_pack_mng_tab
p
)
.
pm_body_stab
with
Not_found
->
with
Not_found
->
print_string
(
"*** Can not find package '"
^
(
Ident
.
pack_name_to_string
p
)
^
print_string
(
"*** Can not find package '"
^
"' in
: "
);
(
Ident
.
pack_name_to_string
p
)
^
"' in the following packages
: "
);
Hashtbl
.
iter
Hashtbl
.
iter
(
fun
pn
pm
->
print_string
(
" '"
^
(
Ident
.
pack_name_to_string
pn
)
^
"'
"
))
(
fun
pn
pm
->
print_string
(
"
\n
***
\t
-
'"
^
(
Ident
.
pack_name_to_string
pn
)
^
"'"
))
this
.
st_pack_mng_tab
;
this
.
st_pack_mng_tab
;
print_string
"
\n
"
;
print_string
"
\n
"
;
flush
stdout
;
flush
stdout
;
assert
false
exit
2
(* exported *)
(* exported *)
...
...
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