[hackers] [scc] Add a space after the expansions of __FILE__ and __LINE__ || Roberto E. Vargas Caballero
commit a73e9f76d9fd0691add07e42337884ee4a57cbef
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Sun Jul 19 09:46:56 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Sun Jul 19 09:46:56 2015 +0200
Add a space after the expansions of __FILE__ and __LINE__
This is needed in order to avoid concatenate with other
text in the input.
diff --git a/cc1/cpp.c b/cc1/cpp.c
index e741ee9..e715415 100644
--- a/cc1/cpp.c
+++ b/cc1/cpp.c
_AT_@ -196,11 +196,11 @@ expand(char *begin, Symbol *sym)
macroname = sym->name;
if (sym == symfile) {
- elen = sprintf(buffer, "\"%s\"", input->fname);
+ elen = sprintf(buffer, "\"%s\" ", input->fname);
goto substitute;
}
if (sym == symline) {
- elen = sprintf(buffer, "%d", input->nline);
+ elen = sprintf(buffer, "%d ", input->nline);
goto substitute;
}
Received on Sun Jul 19 2015 - 09:48:33 CEST
This archive was generated by hypermail 2.3.0
: Sun Jul 19 2015 - 10:00:22 CEST