Commit 80decb60 authored by yoogx's avatar yoogx

* Add rule for mapping "::" to "__"

parent 61a1be84
......@@ -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;
......
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