commit | a3bae3369cca83ee485ed3293e2ad4c53691ba1a | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Mon Sep 24 20:15:51 2001 +0000 |
committer | Fred Drake <fdrake@acm.org> | Mon Sep 24 20:15:51 2001 +0000 |
tree | e6fbd7fcc8376e81eb8752ecab218ef498843771 | |
parent | bfc8fea1e0c46bc0a337237c32b8c1a32985c144 [diff] |
Re-factor the SGMLParser class to use the new markupbase.ParserBase class. Use a new internal method, error(), consistently to raise parse errors; the new base class also uses this. Adjust the parse_comment() method to return the new offset into the buffer instead of the number of characters scanned; this was the only helper method that did it this way, so we have better consistency now. Required to share the new base class. This fixes SF bug #448482 and #453706.