BIND 10 #2373: MasterLexer's String/QuotedString state classes

BIND 10 Development do-not-reply at isc.org
Thu Nov 15 07:49:49 UTC 2012


#2373: MasterLexer's String/QuotedString state classes
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  jinmei
  jinmei                             |                Status:  accepted
                       Type:  task   |             Milestone:
                   Priority:         |  Sprint-20121120
  medium                             |            Resolution:
                  Component:         |             Sensitive:  0
  libdns++                           |           Sub-Project:  DNS
                   Keywords:         |  Estimated Difficulty:  4
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
  loadzone-ng                        |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------

Comment (by jinmei):

 trac2373 is ready for review.

 This is basically a straightforward port of the BIND 9 implementation.
 `String::handle()` corresponds to the lexstate_string case of
 BIND 9's isc_lex_gettoken(), and `QString::handle()` corresponds to
 the lexstate_qstring case of isc_lex_gettoken().  I also updated
 `State::start()` to implement the state transition to qstring.

 And, I added one unrelated proposed extension at commit ac107fa.
 I guess this version is more useful and efficient in the
 `MasterLoader` implementation.  But it's not related to the
 subject of this class, so if it's controversial I'm okay with
 excluding it.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2373#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list