mirror of
https://github.com/Relintai/sfw.git
synced 2024-12-20 21:06:49 +01:00
Remove name from the code template.
This commit is contained in:
parent
ce56ea2724
commit
9675d2375b
@ -1,7 +1,4 @@
|
||||
|
||||
$NAME$
|
||||
----------------------------------------------------------------------------------------
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
|
||||
$CODE$
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
@ -18,8 +18,15 @@ The rest of the information on this page is bogus placeholder to show the format
|
||||
ENUMS
|
||||
====================================================================================
|
||||
|
||||
Error
|
||||
----------------------------------------------------------------------------------------
|
||||
|
||||
|||ENUM_ClockDirection|||
|
||||
|||ENUM_Error|||
|
||||
|
||||
KeyList
|
||||
----------------------------------------------------------------------------------------
|
||||
|
||||
|||ENUM_KeyList|||
|
||||
|
||||
|
||||
|
||||
|
@ -528,9 +528,9 @@ void process_file(const String &path) {
|
||||
String keyword = "|||" + E->get() + "|||";
|
||||
|
||||
String class_str = class_index[c];
|
||||
String class_name = get_structure_name(class_str);
|
||||
//String class_name = get_structure_name(class_str);
|
||||
|
||||
index_str = index_str.replace(keyword, code_template.replace("$CODE$", class_str).replace("$NAME$", class_name));
|
||||
index_str = index_str.replace(keyword, code_template.replace("$CODE$", class_str));
|
||||
used_keywords.insert(c);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user