diff options
author | axel <axel@liljencrantz.se> | 2006-06-02 12:15:17 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-06-02 12:15:17 +1000 |
commit | a1a2773cbff6a124058d8cb7f2ff36376ecf7f64 (patch) | |
tree | 9ba651a6522c0b0096087cea96e3884356397b9b /parser.h | |
parent | 67f216fa5524de9813206734391bca5948a4c81f (diff) |
Make sure code validation error output for e.g. the complete builtin can be redirected, and that it has the prefix 'complete', not 'fish'
darcs-hash:20060602021517-ac50b-5e566aefbd1c9bcb3a5f11f9fc1125d8c1d9e936.gz
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -320,7 +320,7 @@ const wchar_t *parser_get_block_desc( int block ); contains errors, and the second bit is set if the string contains an unclosed block. */ -int parser_test( const wchar_t * buff, int babble ); +int parser_test( const wchar_t * buff, string_buffer_t *out, const wchar_t *prefix ); /** Test if the specified string can be parsed as an argument list, @@ -328,7 +328,7 @@ int parser_test( const wchar_t * buff, int babble ); string contains errors, and the second bit is set if the string contains an unclosed block. */ -int parser_test_args( const wchar_t * buff, int babble ); +int parser_test_args( const wchar_t * buff, string_buffer_t *out, const wchar_t *prefix ); /** Returns the full path of the specified directory. If the \c in is a |