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
80decb60
Commit
80decb60
authored
Sep 15, 2014
by
yoogx
Browse files
* Add rule for mapping "::" to "__"
parent
61a1be84
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/backends/ocarina-backends-utils.adb
View file @
80decb60
...
...
@@ -333,6 +333,12 @@ package body Ocarina.Backends.Utils is
if
Ada_Style
then
Add_Char_To_Name_Buffer
(
'_'
);
end
if
;
elsif
Initial_Name
(
Index
)
=
':'
then
Add_Char_To_Name_Buffer
(
'_'
);
if
Ada_Style
then
Add_Char_To_Name_Buffer
(
'_'
);
end
if
;
else
Add_Char_To_Name_Buffer
(
Initial_Name
(
Index
));
end
if
;
...
...
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