diff options
author | 2006-09-06 06:40:20 +1000 | |
---|---|---|
committer | 2006-09-06 06:40:20 +1000 | |
commit | 697d524687d81fc2cd16bc49f7ef0dea85da980a (patch) | |
tree | 4c2786e08a68e7fd92c9cd3b35e82f0ef312cb53 /parser.c | |
parent | 73f0d0bb488d747c7e6035338e45593a466bfde2 (diff) |
Clear error buffer before creating new error message to avoid bug causing all previous errors to accumulate
darcs-hash:20060905204020-ac50b-6ecc9e4c57a6b387431cef32c734ca525f05c26c.gz
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -753,7 +753,7 @@ void error( int ec, int p, const wchar_t *str, ... ) if( !err_buff ) err_buff = sb_halloc( global_context ); - + sb_clear( err_buff ); error_code = ec; err_pos = p; |