libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / m2 / mc-boot / Gmcp3.h
blob0e00ddcdd9bef4e3f0a133a289ecb1d70516c818
1 /* do not edit automatically generated by mc from mcp3. */
2 /* mcp3.def provides an interface to the pass 3 parser.
4 Copyright (C) 2015-2024 Free Software Foundation, Inc.
5 Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>.
7 This file is part of GNU Modula-2.
9 GNU Modula-2 is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3, or (at your option)
12 any later version.
14 GNU Modula-2 is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with GNU Modula-2; see the file COPYING3. If not see
21 <http://www.gnu.org/licenses/>. */
24 #if !defined (_mcp3_H)
25 # define _mcp3_H
27 #include "config.h"
28 #include "system.h"
29 # ifdef __cplusplus
30 extern "C" {
31 # endif
32 #include <stdbool.h>
33 # if !defined (PROC_D)
34 # define PROC_D
35 typedef void (*PROC_t) (void);
36 typedef struct { PROC_t proc; } PROC;
37 # endif
40 # if defined (_mcp3_C)
41 # define EXTERN
42 # else
43 # define EXTERN extern
44 # endif
48 CompilationUnit - returns TRUE if the input was correct enough to parse
49 in future passes.
52 EXTERN bool mcp3_CompilationUnit (void);
53 # ifdef __cplusplus
55 # endif
57 # undef EXTERN
58 #endif