1 /* $NetBSD: rcsmap.c,v 1.1.1.2 1996/10/13 21:56:55 veego Exp $ */
3 /* RCS map of character types */
5 /* Copyright (C) 1982, 1988, 1989 Walter Tichy
6 Copyright 1990, 1991, 1995 by Paul Eggert
7 Distributed under license by the Free Software Foundation, Inc.
9 This file is part of RCS.
11 RCS is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2, or (at your option)
16 RCS is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with RCS; see the file COPYING.
23 If not, write to the Free Software Foundation,
24 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 Report problems and direct all questions to:
28 rcs-bugs@cs.purdue.edu
34 libId(mapId
, "Id: rcsmap.c,v 5.3 1995/06/16 06:19:24 eggert Exp")
36 /* map of character types */
37 /* ISO 8859/1 (Latin-1) */
38 enum tokens
const ctab
[] = {
39 UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
,
40 SPACE
, SPACE
, NEWLN
, SPACE
, SPACE
, SPACE
, UNKN
, UNKN
,
41 UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
,
42 UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
,
43 SPACE
, IDCHAR
, IDCHAR
, IDCHAR
, DELIM
, IDCHAR
, IDCHAR
, IDCHAR
,
44 IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, DELIM
, IDCHAR
, PERIOD
, IDCHAR
,
45 DIGIT
, DIGIT
, DIGIT
, DIGIT
, DIGIT
, DIGIT
, DIGIT
, DIGIT
,
46 DIGIT
, DIGIT
, COLON
, SEMI
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
,
47 SBEGIN
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
,
48 LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
,
49 LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
,
50 LETTER
, LETTER
, LETTER
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
,
51 IDCHAR
, Letter
, Letter
, Letter
, Letter
, Letter
, Letter
, Letter
,
52 Letter
, Letter
, Letter
, Letter
, Letter
, Letter
, Letter
, Letter
,
53 Letter
, Letter
, Letter
, Letter
, Letter
, Letter
, Letter
, Letter
,
54 Letter
, Letter
, Letter
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, UNKN
,
55 UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
,
56 UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
,
57 UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
,
58 UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
, UNKN
,
59 IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
,
60 IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
,
61 IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
,
62 IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
, IDCHAR
,
63 LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
,
64 LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
,
65 LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, IDCHAR
,
66 LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, LETTER
, Letter
,
67 Letter
, Letter
, Letter
, Letter
, Letter
, Letter
, Letter
, Letter
,
68 Letter
, Letter
, Letter
, Letter
, Letter
, Letter
, Letter
, Letter
,
69 Letter
, Letter
, Letter
, Letter
, Letter
, Letter
, Letter
, IDCHAR
,
70 Letter
, Letter
, Letter
, Letter
, Letter
, Letter
, Letter
, Letter