Commit 5fb94bf6 authored by yoogx's avatar yoogx

* Put 'static' keyword at the right position

parent 879bda83
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
-- -- -- --
-- B o d y -- -- B o d y --
-- -- -- --
-- Copyright (C) 2008-2009 Telecom ParisTech, 2010-2016 ESA & ISAE. -- -- Copyright (C) 2008-2009 Telecom ParisTech, 2010-2017 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- --
...@@ -1197,11 +1197,11 @@ package body Ocarina.Backends.C_Tree.Generator is ...@@ -1197,11 +1197,11 @@ package body Ocarina.Backends.C_Tree.Generator is
procedure Generate_Variable_Declaration (N : Node_Id) is procedure Generate_Variable_Declaration (N : Node_Id) is
begin begin
Generate (Used_Type (N));
if Is_Static (N) then if Is_Static (N) then
Write_Space;
Write (Tok_Static); Write (Tok_Static);
Write_Space;
end if; end if;
Generate (Used_Type (N));
Write_Space; Write_Space;
Generate (Defining_Identifier (N)); Generate (Defining_Identifier (N));
end Generate_Variable_Declaration; end Generate_Variable_Declaration;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment