- if (column > 0)
- {
- cstring temps;
-
- if (filename != NULL)
- {
- fprintf (stderr, "%s: ",
- cstring_toCharsSafe (temps = fileloc_unparseRawCol (filename, (int) line, (int) column)));
- }
- else
- {
- fprintf (stderr, "%s: ",
- cstring_toCharsSafe (temps = fileloc_unparseRawCol (cstring_makeLiteralTemp ("<no file>"),
- (int) line, (int) column)));
- }
-
- cstring_free (temps);
- }
- else
- {
- cstring temps;
-
- if (filename != NULL)
- {
- fprintf (stderr, "%s: ",
- cstring_toCharsSafe (temps = fileloc_unparseRaw (filename, (int) line)));
-
- }
- else
- {
- fprintf (stderr, "%s: ",
- cstring_toCharsSafe (temps = fileloc_unparseRaw (cstring_makeLiteralTemp ("<no file>"),
- (int) line)));
- }
-
- cstring_free (temps);
- }
+ DPRINTF (("unparse loc: %s",
+ fileloc_unparse (cppReader_getLoc (pfile))));
+ return (fileloc_unparse (cppReader_getLoc (pfile)));