commit e03cc084e704679233c93bb61dd240043811d13f
parent a2411fb7e6bab7a76d3b0fe5fd74433f976e6f8d
Author: Quentin Rameau <quinq@fifth.space>
Date: Sat, 25 Jun 2016 01:38:12 +0200
[cpp] print correct pragma in warning message
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cc1/cpp.c b/cc1/cpp.c
@@ -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();
}