diagnostics: don't try to quote special files

Based on a report by Todd Freed.
http://lists.gnu.org/archive/html/bug-bison/2019-04/msg00000.html
See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90034

* src/location.c (caret_info): Also track the file name.
(location_caret): Don't quote special files.
This commit is contained in:
Akim Demaille
2019-04-23 18:29:10 +02:00
parent 95d688957f
commit a992a3cb9e
3 changed files with 66 additions and 11 deletions
+1
View File
@@ -170,6 +170,7 @@ Tim Josling [email protected]
Tim Landscheidt [email protected]
Tim Van Holder [email protected]
Tobias Frost [email protected]
Todd Freed [email protected]
Tom Lane [email protected]
Tom Tromey [email protected]
Tommy Nordgren [email protected]