Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
Ocarina
Commits
c8c361dc
Commit
c8c361dc
authored
Jan 25, 2016
by
yoogx
Browse files
* Minor code reorganization
parent
61d1b8f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/core/model/ocarina-analyzer-aadl-naming_rules.adb
View file @
c8c361dc
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
-- --
-- --
-- B o d y --
-- B o d y --
-- --
-- --
-- Copyright (C) 2009 Telecom ParisTech, 2010-201
5
ESA & ISAE. --
-- Copyright (C) 2009 Telecom ParisTech, 2010-201
6
ESA & ISAE. --
-- --
-- --
-- Ocarina is free software; you can redistribute it and/or modify under --
-- Ocarina is free software; you can redistribute it and/or modify under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- terms of the GNU General Public License as published by the Free Soft- --
...
@@ -302,15 +302,12 @@ package body Ocarina.Analyzer.AADL.Naming_Rules is
...
@@ -302,15 +302,12 @@ package body Ocarina.Analyzer.AADL.Naming_Rules is
if
Present
(
Scope
)
then
if
Present
(
Scope
)
then
Scoped_Identifier
:=
Scoped_Identifier
:=
Internal_Node_In_Scope
(
Name_Of_Identifier
,
Scope
);
Internal_Node_In_Scope
(
Name_Of_Identifier
,
Scope
);
else
if
Present
(
Scoped_Identifier
)
then
return
No_Node
;
return
Corresponding_Entity
(
Scoped_Identifier
);
end
if
;
end
if
;
end
if
;
if
Present
(
Scoped_Identifier
)
then
return
No_Node
;
return
Corresponding_Entity
(
Scoped_Identifier
);
else
return
No_Node
;
end
if
;
end
Node_Explicitly_In_Scope
;
end
Node_Explicitly_In_Scope
;
-------------------
-------------------
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment