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
3ddd55de
Commit
3ddd55de
authored
Apr 19, 2016
by
Jerome Hugues
Browse files
* On_Generate: return value based on the number of errors
spotted during backend execution
parent
10d3c22a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/python/ocarina-python_cmd.adb
View file @
3ddd55de
...
...
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2014-201
5
ESA & ISAE. --
-- Copyright (C) 2014-201
6
ESA & ISAE. --
-- --
-- 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- --
...
...
@@ -242,6 +242,7 @@ package body Ocarina.Python_Cmd is
pragma
Unreferenced
(
Command
);
begin
Ocarina
.
Utils
.
Generate
(
Nth_Arg
(
Data
,
1
,
""
));
Set_Return_Value
(
Data
,
Errors
.
N_Errors
=
0
);
end
On_Generate
;
---------------------
...
...
@@ -444,8 +445,6 @@ package body Ocarina.Python_Cmd is
-- On_Get_Property_Sets --
--------------------------
-- procedure Get_PropertyBinding return Node_List;
procedure
On_Get_Property_Sets
(
Data
:
in
out
Callback_Data
'
Class
;
Command
:
String
);
...
...
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