Browse Source

[2370] added some comments about numeber types

JINMEI Tatuya 12 years ago
parent
commit
1c12d2036d
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/lib/dns/master_lexer.h

+ 5 - 0
src/lib/dns/master_lexer.h

@@ -46,6 +46,11 @@ public:
 class MasterLexer::Token {
 public:
     /// \brief Enumeration for token types
+    ///
+    /// \note At the time of initial implementation, all numeric tokens
+    /// that would be extracted from \c MasterLexer should be represented
+    /// as an unsigned 32-bit integer.  If we see the need for larger integers
+    /// or negative numbers, we can then extend the token types.
     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)