Store number of intermediate chars explicitly, instead of relying on null-terminated...
commited06ff55095ee0fb7c028fee4aaeb0bee046c1f6
authorJoshua Haberman <joshua@reverberate.org>
Fri, 19 Oct 2007 00:00:58 +0000 (18 17:00 -0700)
committerJoshua Haberman <joshua@reverberate.org>
Fri, 19 Oct 2007 00:00:58 +0000 (18 17:00 -0700)
treec5a22c50cc09e9581982c5e3cabdf433af37b35f
parent084d6833e1ed39c5ad9d72473b303e2a7d2aa216
Store number of intermediate chars explicitly, instead of relying on null-terminated string.
Also, report errors by signaling an error action to the callback instead of doing a cheesy
fprintf() to stderr.
vtparse.c
vtparse.h
vtparse_tables.rb
vtparse_test.c