eolian: add new unit API
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Tue, 30 May 2017 15:18:31 +0000 (17:18 +0200)
committerDaniel Kolesa <d.kolesa@osg.samsung.com>
Tue, 30 May 2017 15:18:31 +0000 (17:18 +0200)
commit43eb1b16303dc0c413d9bd9b35c726e5798b4acb
tree2355f5a9a183dbbc7210691007b7e97260e9eabf
parentbd189f69f2926b479b334c30650606645d7fa245
parentcc7b354db29af517e7b60f1a9279132cb35b7bfd
eolian: add new unit API

The idea of units (as in translation units) is to encapsulate a single
parser pass into a structure to prevent leakage of data from other
passes (therefore catching error cases that couldn't be caught before).

The internals of the unit system are currently not implemented, this
batch merely switches all the relevant APIs to use units as well as
updates various things that use those APIs; implementation will come
afterwards.

@feature