diff options
author | Christopher Li <sparse@chrisli.org> | 2007-02-27 13:15:59 -0800 |
---|---|---|
committer | Josh Triplett <josh@freedesktop.org> | 2007-02-27 16:22:48 -0800 |
commit | d4ae1cacb43461358a9b1f229f26c85c2456ff7e (patch) | |
tree | 4070abbecba4f93331ff7eb57b31d6e4e3dc3c3b /lib.h | |
parent | Update the information in README about using the library. (diff) | |
download | sparse-d4ae1cacb43461358a9b1f229f26c85c2456ff7e.tar.gz sparse-d4ae1cacb43461358a9b1f229f26c85c2456ff7e.tar.bz2 sparse-d4ae1cacb43461358a9b1f229f26c85c2456ff7e.zip |
Introduce expression_error
Add a new function expression_error, which works just like
sparse_error but also installs a bad_ctype into the expression.
Signed-Off-By: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -76,6 +76,7 @@ extern void info(struct position, const char *, ...) FORMAT_ATTR(2); extern void warning(struct position, const char *, ...) FORMAT_ATTR(2); extern void sparse_error(struct position, const char *, ...) FORMAT_ATTR(2); extern void error_die(struct position, const char *, ...) FORMAT_ATTR(2); +extern void expression_error(struct expression *, const char *, ...) FORMAT_ATTR(2); #undef FORMAT_ATTR extern char **handle_switch(char *arg, char **next); |