aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2007-01-30 02:26:24 +1000
committerGravatar axel <axel@liljencrantz.se>2007-01-30 02:26:24 +1000
commitba932b659022b7cc2d746b4dc4536e111dd23ec0 (patch)
treef1770a65e5040a0b68a4694a550cf8aceb1c93d7 /reader.h
parentc02e2b13207448ee7504f361e3a1abf4fa946c82 (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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/reader.h b/reader.h
index f20c2aeb..36f22726 100644
--- a/reader.h
+++ b/reader.h
@@ -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