BIND 10 trac2372, updated. 30b659a84d2d1beedc9adc53fbfd2ff71587dea5 [2372] clarified that INITIAL_WS is recognized only after an EOL.
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Nov 13 18:16:34 UTC 2012
The branch, trac2372 has been updated
via 30b659a84d2d1beedc9adc53fbfd2ff71587dea5 (commit)
from 15d6d71ed052c0dc5d6be39a8afe484014887b31 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 30b659a84d2d1beedc9adc53fbfd2ff71587dea5
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Tue Nov 13 10:15:48 2012 -0800
[2372] clarified that INITIAL_WS is recognized only after an EOL.
-----------------------------------------------------------------------
Summary of changes:
src/lib/dns/master_lexer.h | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dns/master_lexer.h b/src/lib/dns/master_lexer.h
index 58b7a30..0757df8 100644
--- a/src/lib/dns/master_lexer.h
+++ b/src/lib/dns/master_lexer.h
@@ -55,8 +55,9 @@ public:
/// A compound option, indicating multiple options are set, can be
/// specified using the logical OR operator (operator|()).
enum Options {
- NONE = 0, //< No option
- INITIAL_WS = 1, ///< recognize begin-of-line spaces
+ NONE = 0, ///< No option
+ INITIAL_WS = 1, ///< recognize begin-of-line spaces after an
+ ///< end-of-line
QSTRING = 2, ///< recognize quoted string
NUMBER = 4 ///< recognize numeric text as integer
};
@@ -191,7 +192,8 @@ public:
enum Type {
END_OF_LINE, ///< End of line detected (if asked for detecting it)
END_OF_FILE, ///< End of file detected (if asked for detecting it)
- INITIAL_WS, ///< White spaces at the beginning of a line
+ INITIAL_WS, ///< White spaces at the beginning of a line after an
+ ///< end of line
NOVALUE_TYPE_MAX = INITIAL_WS, ///< Max integer corresponding to
/// no-value (type only) types.
/// Mainly for internal use.
More information about the bind10-changes
mailing list