pike.git/
src/
language.yacc
Branch:
Tag:
Non-build tags
All tags
No tags
2004-10-26
2004-10-26 17:27:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>
0bfbb0919c95b1d62887c8096dbacb857101cdf0 (
6
lines) (+
4
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
snprintf(3C) is not portable.
Rev: src/language.yacc:1.346
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: language.yacc,v 1.
345
2004/10/
23
02
:
25
:
11
nilsson
Exp $
+
|| $Id: language.yacc,v 1.
346
2004/10/
26
17
:
27
:
31
grubba
Exp $
*/ %pure_parser
118:
#include <memory.h> #endif
+
#include "port.h"
#include "interpret.h" #include "array.h" #include "object.h"
4014:
static void yyerror_reserved(char *keyword) { char fmt[100];
-
snprintf
(fmt, sizeof(fmt), "%s is a reserved word.", keyword);
+
SNPRINTF
(fmt, sizeof(fmt), "%s is a reserved word.", keyword);
yyerror(fmt); }