]> git.cworth.org Git - apitrace/commit
Improvements in AttribArray / attrib/list code generation.
authorAndreas Hartmetz <ahartmetz@gmail.com>
Tue, 9 Jul 2013 20:43:15 +0000 (22:43 +0200)
committerAndreas Hartmetz <ahartmetz@gmail.com>
Tue, 9 Jul 2013 20:46:00 +0000 (22:46 +0200)
commitb491f9b5da9ccc5ed9ea831961df734a1137470e
tree3641a0fc686c699cf1f5da425c7d404481c2fca9
parent700323b8d6a43a7c7aa9257fe79299579adb5c1e
Improvements in AttribArray / attrib/list code generation.

- Treat unknown keys the same way while counting elements and while
  processing them (they are assumed to be followed by an int value).
- Support custom terminators.
- Serialize the terminator.
- Reduce the line count of generated code a bit.
- Add forgotten begin/endElement() around writing the keys.
- Improve comment wording.
wrappers/trace.py