Allow returning something of type void in a function that returns void
[delight/core.git] / d-tree.def
blobe122d1509dac440b5c7e7f1f805bc99a0c2a849e
1 /* GDC -- D front-end for GCC
2 Copyright (C) 2004 David Friedman
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #if D_GCC_VER < 40
20 /* Used for EH cleanup */
21 DEFTREECODE (D_STMT_EXPR, "smt_expr", 'e', 1)
22 /* Used for creating dynamic arrays and slice assignments
23 The arguments are pointer-to-array-data, fill-expression, and count.
25 DEFTREECODE (D_ARRAY_SET_EXPR, "array_set_expr", 'e', 3)
28 #endif