From 5744cc1cf3c348d120ef5dc3f1f97e23a0aa6fea Mon Sep 17 00:00:00 2001 From: Jelte Jansen Date: Thu, 25 Oct 2012 18:13:52 +0200 Subject: [PATCH] [2357] additional __ fixes in generator for rdataclass.h, and updated a doxygen comment --- src/lib/dns/gen-rdatacode.py.in | 2 +- src/lib/log/compiler/message.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/dns/gen-rdatacode.py.in b/src/lib/dns/gen-rdatacode.py.in index f3cd5df81a..e51dfc5b28 100755 --- a/src/lib/dns/gen-rdatacode.py.in +++ b/src/lib/dns/gen-rdatacode.py.in @@ -74,7 +74,7 @@ def import_classheader(class_txt, type_txt, type_code, file): # for each CLASS_n/TYPE_m.h rdata_header = open(file, 'r') content = '' - guard_macro = '__' + class_txt.upper() + '_' + type_txt.upper() + guard_macro = class_txt.upper() + '_' + type_txt.upper() guard_macro += '_' + type_code + '_H' for line in rdata_header.readlines(): if re.match('// BEGIN_HEADER_GUARD', line): diff --git a/src/lib/log/compiler/message.cc b/src/lib/log/compiler/message.cc index 990b127cf2..7bff8bde49 100644 --- a/src/lib/log/compiler/message.cc +++ b/src/lib/log/compiler/message.cc @@ -122,7 +122,7 @@ currentTime() { /// \brief Create Header Sentinel /// /// Given the name of a file, create an \#ifdef sentinel name. The name is -/// ___, where <name> is the name of the file, and <ext> +/// _, where <name> is the name of the file, and <ext> /// is the extension less the leading period. The sentinel will be upper-case. /// /// \param file Filename object representing the file.