aboutsummaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-09-18 09:09:28 +0000
committerbloodstalker <thabogre@gmail.com>2018-09-18 09:09:28 +0000
commit41716a7751573522f881ee189aab326ecc8c22bc (patch)
tree87dc28fdac160516e2961678e0875604efe2aa31 /main.py
parenta lil bug fix (diff)
downloadfaultreiber-41716a7751573522f881ee189aab326ecc8c22bc.tar.gz
faultreiber-41716a7751573522f881ee189aab326ecc8c22bc.zip
update
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.py b/main.py
index 6f2fa31..53519f1 100755
--- a/main.py
+++ b/main.py
@@ -557,6 +557,7 @@ class CodeGen(object):
#agg_source.write('#include "aggregate.h"\n')
agg_source_h.write(self.argparser.args.name + "_lib_ret_t* read_aggr_"+self.argparser.args.name+"(int _fd);\n")
agg_source.write("uint8_t eof = 0U;")
+ agg_source.write("lib_ret->current_void_count = 0;\n")
for elem in self.read_elems:
if "unorderedbegin" in elem.attrib:
agg_source.write("do {\n")