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