1/* $NetBSD: rcsmap.c,v 1.2 2016/01/14 04:22:39 christos Exp $ */ 2 3/* RCS map of character types */ 4 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. 8 9This file is part of RCS. 10 11RCS is free software; you can redistribute it and/or modify 12it under the terms of the GNU General Public License as published by 13the Free Software Foundation; either version 2, or (at your option) 14any later version. 15 16RCS is distributed in the hope that it will be useful, 17but WITHOUT ANY WARRANTY; without even the implied warranty of 18MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19GNU General Public License for more details. 20 21You should have received a copy of the GNU General Public License 22along with RCS; see the file COPYING. 23If not, write to the Free Software Foundation, 2459 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 25 26Report problems and direct all questions to: 27 28 rcs-bugs@cs.purdue.edu 29 30*/ 31 32#include "rcsbase.h" 33 34libId(mapId, "Id: rcsmap.c,v 5.3 1995/06/16 06:19:24 eggert Exp ") 35 36/* map of character types */ 37/* ISO 8859/1 (Latin-1) */ 38enum 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 71}; 72