diff options
author | Carl Worth <[email protected]> | 2011-04-14 15:35:41 -0700 |
---|---|---|
committer | Carl Worth <[email protected]> | 2011-04-14 15:35:41 -0700 |
commit | 02d293c08ee2375fc43b343bfc9b074f33a9063c (patch) | |
tree | ee8a4295f02f821a133f1a87560efbd71076ed08 /docs/lists.html | |
parent | 0b80f2d4c9fd672d75d647104bf0b0fdafec9dda (diff) |
glcpp: Simplify calling convention of parser's active_list functions
These were all written as generic list functions, (accepting and returning
a list to act upon). But they were only ever used with parser->active as
the list. By simply accepting the parser itself, these functions can update
parser->active and now return nothing at all. This makes the code a bit
more compact.
And hopefully the code is no less readable since the functions are also
now renamed to have "_parser_active" in the name for better correlation
with nearby tests of the parser->active field.
Diffstat (limited to 'docs/lists.html')
0 files changed, 0 insertions, 0 deletions