uniqstr wasn't being used for handle_syncline like it should.

This commit is contained in:
Paul Eggert
2004-08-08 04:57:06 +00:00
parent c9cbf7c58e
commit dca81a78f8
3 changed files with 13 additions and 4 deletions

View File

@@ -1003,7 +1003,7 @@ handle_syncline (char *args)
const char *file = NULL;
file = strchr (args, '"') + 1;
*strchr (file, '"') = 0;
scanner_cursor.file = current_file = xstrdup (file);
scanner_cursor.file = current_file = uniqstr_new (file);
scanner_cursor.line = lineno;
scanner_cursor.column = 1;
}