diff options
author | axel <axel@liljencrantz.se> | 2006-05-22 05:25:24 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-05-22 05:25:24 +1000 |
commit | 1c2cbb00bcb6fb31d509019b035a0828c940bf6e (patch) | |
tree | 083d5ae8d15fef1e9ea04bc7abd3385b83ee906e /parser.h | |
parent | bbf2a3836fa10b9539a5d8d0bbd143349f2c67e4 (diff) |
Major update to the ahead-of-time syntax checker
darcs-hash:20060521192524-ac50b-48713f826558e66ef21046d1bb779623cc2fd97a.gz
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -315,10 +315,20 @@ const wchar_t *parser_get_block_desc( int block ); /** - Test if the specified string can be parsed, or if more bytes need to be read first. - The result has the first bit set if the string contains errors, and the second bit is set if the string contains an unclosed block. + Test if the specified string can be parsed, or if more bytes need + to be read first. The result has the first bit set if the string + contains errors, and the second bit is set if the string contains + an unclosed block. */ -int parser_test( wchar_t * buff, int babble ); +int parser_test( const wchar_t * buff, int babble ); + +/** + Test if the specified string can be parsed as an argument list, + e.g. sent to eval_args. The result has the first bit set if the + 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 ); /** Returns the full path of the specified directory. If the \c in is a |