libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / m2 / mc-boot / GASCII.h
blobc157a8b7686ee3642a5153c8c0494a5609ea72af
1 /* do not edit automatically generated by mc from ASCII. */
2 /* ASCII.def Defines all ascii constants.
4 Copyright (C) 2001-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 Under Section 7 of GPL version 3, you are granted additional
20 permissions described in the GCC Runtime Library Exception, version
21 3.1, as published by the Free Software Foundation.
23 You should have received a copy of the GNU General Public License and
24 a copy of the GCC Runtime Library Exception along with this program;
25 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
26 <http://www.gnu.org/licenses/>. */
29 #if !defined (_ASCII_H)
30 # define _ASCII_H
32 #include "config.h"
33 #include "system.h"
34 # ifdef __cplusplus
35 extern "C" {
36 # endif
37 #include <stdbool.h>
38 # if !defined (PROC_D)
39 # define PROC_D
40 typedef void (*PROC_t) (void);
41 typedef struct { PROC_t proc; } PROC;
42 # endif
45 # if defined (_ASCII_C)
46 # define EXTERN
47 # else
48 # define EXTERN extern
49 # endif
51 # define ASCII_nul (char) 000
52 # define ASCII_soh (char) 001
53 # define ASCII_stx (char) 002
54 # define ASCII_etx (char) 003
55 # define ASCII_eot (char) 004
56 # define ASCII_enq (char) 005
57 # define ASCII_ack (char) 006
58 # define ASCII_bel (char) 007
59 # define ASCII_bs (char) 010
60 # define ASCII_ht (char) 011
61 # define ASCII_nl (char) 012
62 # define ASCII_vt (char) 013
63 # define ASCII_np (char) 014
64 # define ASCII_cr (char) 015
65 # define ASCII_so (char) 016
66 # define ASCII_si (char) 017
67 # define ASCII_dle (char) 020
68 # define ASCII_dc1 (char) 021
69 # define ASCII_dc2 (char) 022
70 # define ASCII_dc3 (char) 023
71 # define ASCII_dc4 (char) 024
72 # define ASCII_nak (char) 025
73 # define ASCII_syn (char) 026
74 # define ASCII_etb (char) 027
75 # define ASCII_can (char) 030
76 # define ASCII_em (char) 031
77 # define ASCII_sub (char) 032
78 # define ASCII_esc (char) 033
79 # define ASCII_fs (char) 034
80 # define ASCII_gs (char) 035
81 # define ASCII_rs (char) 036
82 # define ASCII_us (char) 037
83 # define ASCII_sp (char) 040
84 # define ASCII_lf ASCII_nl
85 # define ASCII_ff ASCII_np
86 # define ASCII_eof ASCII_eot
87 # define ASCII_tab ASCII_ht
88 # define ASCII_del (char) 0177
89 # define ASCII_EOL ASCII_nl
90 # ifdef __cplusplus
92 # endif
94 # undef EXTERN
95 #endif