diff options
author | axel <axel@liljencrantz.se> | 2007-01-30 02:26:24 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2007-01-30 02:26:24 +1000 |
commit | ba932b659022b7cc2d746b4dc4536e111dd23ec0 (patch) | |
tree | f1770a65e5040a0b68a4694a550cf8aceb1c93d7 /reader.h | |
parent | c02e2b13207448ee7504f361e3a1abf4fa946c82 (diff) |
Add support for -s switch to read builtin, enables shell syntax highlighting in the read builtin
darcs-hash:20070129162624-ac50b-dff9d9ebf16ce3247b83d917efbffd4942cda83f.gz
Diffstat (limited to 'reader.h')
-rw-r--r-- | reader.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -167,4 +167,10 @@ void reader_handle_int( int signal ); */ int reader_exit_forced(); +/** + Test if the given shell command contains errors. Uses parser_test + for testing. Suitable for reader_set_test_function(). +*/ +int reader_shell_test( wchar_t *b ); + #endif |