Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
Ocarina
Commits
e2581372
Commit
e2581372
authored
May 30, 2018
by
yoogx
Browse files
* Properly manage comments
parent
f4cbc2db
Changes
1
Show whitespace changes
Inline
Side-by-side
src/backends/ast_xml/ocarina-backends-xml_tree-generator.adb
View file @
e2581372
...
...
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2008-2009 Telecom ParisTech, 2010-201
5
ESA & ISAE. --
-- Copyright (C) 2008-2009 Telecom ParisTech, 2010-201
8
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- --
...
...
@@ -292,8 +292,9 @@ package body Ocarina.Backends.XML_Tree.Generator is
-- We consume 4 colums
Write_Eol
;
Used_Columns
:=
Used_Columns
+
2
;
Write_Str
(
"
/*
"
);
Write_Str
(
"
<!--
"
);
Used_Columns
:=
Used_Columns
+
Next_Word_Length
;
Write_Str
(
Get_Next_Word
);
...
...
@@ -304,7 +305,7 @@ package body Ocarina.Backends.XML_Tree.Generator is
Used_Columns
:=
Used_Columns
+
Next_Word_Length
;
Write_Str
(
Get_Next_Word
);
end
loop
;
Write_Str
(
"
*/
"
);
Write_Str
(
"
-->
"
);
if
Are_There_More_Words
then
Write_Eol
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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