[hackers] [scc] [cpp] print correct pragma in warning message || Quentin Rameau
commit e03cc084e704679233c93bb61dd240043811d13f
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Sat Jun 25 01:38:12 2016 +0200
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Sat Jun 25 01:38:12 2016 +0200
[cpp] print correct pragma in warning message
diff --git a/cc1/cpp.c b/cc1/cpp.c
index 96ee358..96e6404 100644
--- a/cc1/cpp.c
+++ b/cc1/cpp.c
_AT_@ -573,7 +573,7 @@ pragma(void)
next();
if (!strcmp(yytext, "GCC"))
warn(magic);
- warn("ignoring pragma '%s'", input->begin);
+ warn("ignoring pragma '%s'", yytext);
*input->p = '\0';
next();
}
Received on Mon Jul 18 2016 - 18:06:42 CEST
This archive was generated by hypermail 2.3.0
: Mon Jul 18 2016 - 18:12:25 CEST