summaryrefslogtreecommitdiff
path: root/tools/makespec.py
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-18 11:48:20 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-21 10:10:07 -0800
commit95a1be5747a430ff408bf88f50452fe936c785b2 (patch)
treea465baa97aa565cadcc508231e08ac63aa12e16c /tools/makespec.py
parentfcc419a04e5db89586edb0fb29707144225e129b (diff)
Moved continuation checks & finalizers into blocks property.
This is a first step towards keeping the code for each kind of block in a central place, rather than spread all over the code base. This is preparatory for a more modular structure, where each type of block has a record describing how it is parsed and finalized. Eventually this will also contain functions for checking for a block start, and metadata that determines how line data should be handled. There is a small performance penalty (about 3%?) but it seems worth it.
Diffstat (limited to 'tools/makespec.py')
0 files changed, 0 insertions, 0 deletions