mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +00:00
[2357] additional __ fixes
in generator for rdataclass.h, and updated a doxygen comment
This commit is contained in:
@@ -74,7 +74,7 @@ def import_classheader(class_txt, type_txt, type_code, file):
|
|||||||
# for each CLASS_n/TYPE_m.h
|
# for each CLASS_n/TYPE_m.h
|
||||||
rdata_header = open(file, 'r')
|
rdata_header = open(file, 'r')
|
||||||
content = ''
|
content = ''
|
||||||
guard_macro = '__' + class_txt.upper() + '_' + type_txt.upper()
|
guard_macro = class_txt.upper() + '_' + type_txt.upper()
|
||||||
guard_macro += '_' + type_code + '_H'
|
guard_macro += '_' + type_code + '_H'
|
||||||
for line in rdata_header.readlines():
|
for line in rdata_header.readlines():
|
||||||
if re.match('// BEGIN_HEADER_GUARD', line):
|
if re.match('// BEGIN_HEADER_GUARD', line):
|
||||||
|
@@ -122,7 +122,7 @@ currentTime() {
|
|||||||
/// \brief Create Header Sentinel
|
/// \brief Create Header Sentinel
|
||||||
///
|
///
|
||||||
/// Given the name of a file, create an \#ifdef sentinel name. The name is
|
/// Given the name of a file, create an \#ifdef sentinel name. The name is
|
||||||
/// __<name>_<ext>, where <name> is the name of the file, and <ext>
|
/// <name>_<ext>, where <name> is the name of the file, and <ext>
|
||||||
/// is the extension less the leading period. The sentinel will be upper-case.
|
/// is the extension less the leading period. The sentinel will be upper-case.
|
||||||
///
|
///
|
||||||
/// \param file Filename object representing the file.
|
/// \param file Filename object representing the file.
|
||||||
|
Reference in New Issue
Block a user