diff options
author | Dmitri Pal <dpal@redhat.com> | 2012-12-04 19:38:58 -0500 |
---|---|---|
committer | Ondrej Kos <okos@redhat.com> | 2012-12-06 14:23:26 +0100 |
commit | 854d077f8a7ded3f5c25f58fa4bfc46aa55095db (patch) | |
tree | f6946568ffca0856343cf17bdbf603cff7738cb6 /trace | |
parent | 85831de020e701104d0bcfbb274e5978faf31723 (diff) | |
download | ding-libs-854d077f8a7ded3f5c25f58fa4bfc46aa55095db.tar.gz ding-libs-854d077f8a7ded3f5c25f58fa4bfc46aa55095db.tar.xz ding-libs-854d077f8a7ded3f5c25f58fa4bfc46aa55095db.zip |
Improve parser
1. Move the last comment into the config object
Last comment in the file was previously treated as a special
value in the last section in the configuration object.
That created difficulties while merging. Storing an orphan
comment as part of the config object is a better approach
2. Since the structure of the config object changed
the internal header and serialization required update.
3. Parser code was updated to:
- deal with the last comment on the top level
- make sure the right error codes are returned in
different modes
- pass right information through the layers which caused
some refactoring of the internal calls
- prevent using an already used configuration object
as an input to parser.
Diffstat (limited to 'trace')
0 files changed, 0 insertions, 0 deletions