annotate netinstall/iniparse.h @ 4719:bd51ab22afa8

Make it possible to silence warnings issued when #'mapcar's result is discarded. lisp/ChangeLog addition: 2009-10-19 Aidan Kehoe <kehoea@parhasard.net> * bytecomp.el (byte-compile-default-warnings): Add two new warning types, discarded-consing (basically use of mapcar instead of mapc where its result is discarded) and quoted-lambda (use of a lambda expression quoted as data in a function context). (byte-compile-warnings): Document the new warnings. (byte-compile-fset, byte-compile-funarg): Implement the quoted-lambda warning option. (byte-compile-mapcar): Renamed to byte-compile-maybe-mapc. (byte-compile-maybe-mapc, byte-compile-maplist): Implement the discarded-consing warning option. Add more functions that should be compiled using byte-compile-funarg, notably mapvector, mapc-internal, map-char-table. * cl-macs.el (mapcar*): If we know at compile time that there are no CL options being used, use the mapcar subr, not the byte-coded function.
author Aidan Kehoe <kehoea@parhasard.net>
date Mon, 19 Oct 2009 12:47:21 +0100
parents 3078fd1074e8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
448
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
1 #ifndef YYSTYPE
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
2 #define YYSTYPE int
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
3 #endif
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
4 #define STRING 257
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
5 #define SETUP_TIMESTAMP 258
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
6 #define SETUP_VERSION 259
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
7 #define VERSION 260
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
8 #define INSTALL 261
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
9 #define SOURCE 262
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
10 #define SDESC 263
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
11 #define LDESC 264
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
12 #define TYPE 265
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
13 #define T_PREV 266
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
14 #define T_CURR 267
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
15 #define T_TEST 268
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
16 #define T_UNKNOWN 269
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
17
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
18
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
19 extern YYSTYPE yylval;