X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/0906b12cd56f9777fb684b8a257a0e56c090a93c..0fe9720964da510a2b359af390a3053aace65f9f:/src/complain.c?ds=sidebyside diff --git a/src/complain.c b/src/complain.c index ee1b4a19..984b1361 100644 --- a/src/complain.c +++ b/src/complain.c @@ -114,7 +114,7 @@ error_message (const location *loc, warnings flags, const char *prefix, { putc ('\n', stderr); fflush (stderr); - if (loc && feature_flag & feature_caret) + if (loc && feature_flag & feature_caret && !(flags & no_caret)) location_caret (stderr, *loc); } }