Debian Codegraph @

gcc/m2/pge-boot/GASCII.h

raw
1 /* do not edit automatically generated by mc from ASCII. */
2 /* ASCII.def Defines all ascii constants.
3
4 Copyright (C) 2001-2025 Free Software Foundation, Inc.
5 Contributed by Gaius Mulley <[email protected]>.
6
7 This file is part of GNU Modula-2.
8
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.
13
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.
18
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.
22
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/>. */
27
28
29 #if !defined (_ASCII_H)
30 # define _ASCII_H
31
32 # ifdef __cplusplus
33 extern "C" {
34 # endif
35 #include <stdbool.h>
36 # if !defined (PROC_D)
37 # define PROC_D
38 typedef void (*PROC_t) (void);
39 typedef struct { PROC_t proc; } PROC;
40 # endif
41
42
43 # if defined (_ASCII_C)
44 # define EXTERN
45 # else
46 # define EXTERN extern
47 # endif
48
49 # define ASCII_nul (char) 000
50 # define ASCII_soh (char) 001
51 # define ASCII_stx (char) 002
52 # define ASCII_etx (char) 003
53 # define ASCII_eot (char) 004
54 # define ASCII_enq (char) 005
55 # define ASCII_ack (char) 006
56 # define ASCII_bel (char) 007
57 # define ASCII_bs (char) 010
58 # define ASCII_ht (char) 011
59 # define ASCII_nl (char) 012
60 # define ASCII_vt (char) 013
61 # define ASCII_np (char) 014
62 # define ASCII_cr (char) 015
63 # define ASCII_so (char) 016
64 # define ASCII_si (char) 017
65 # define ASCII_dle (char) 020
66 # define ASCII_dc1 (char) 021
67 # define ASCII_dc2 (char) 022
68 # define ASCII_dc3 (char) 023
69 # define ASCII_dc4 (char) 024
70 # define ASCII_nak (char) 025
71 # define ASCII_syn (char) 026
72 # define ASCII_etb (char) 027
73 # define ASCII_can (char) 030
74 # define ASCII_em (char) 031
75 # define ASCII_sub (char) 032
76 # define ASCII_esc (char) 033
77 # define ASCII_fs (char) 034
78 # define ASCII_gs (char) 035
79 # define ASCII_rs (char) 036
80 # define ASCII_us (char) 037
81 # define ASCII_sp (char) 040
82 # define ASCII_lf ASCII_nl
83 # define ASCII_ff ASCII_np
84 # define ASCII_eof ASCII_eot
85 # define ASCII_tab ASCII_ht
86 # define ASCII_del (char) 0177
87 # define ASCII_EOL ASCII_nl
88 # ifdef __cplusplus
89 }
90 # endif
91
92 # undef EXTERN
93 #endif