chiark / gitweb /
mention bug
[userv.git] / tokens.h.m4
1 dnl  userv - tokens.h.m4
2 dnl  token values, passed through m4 with defs from langauge.i4
3 /*  
4  *   Copyright (C)1996-1997,1999 Ian Jackson
5  *  
6  *   This is free software; you can redistribute it and/or modify it
7  *   under the terms of the GNU General Public License as published by
8  *   the Free Software Foundation; either version 2 of the License, or
9  *   (at your option) any later version.
10  *  
11  *   This program is distributed in the hope that it will be useful, but
12  *   WITHOUT ANY WARRANTY; without even the implied warranty of
13  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  *   General Public License for more details.
15  *  
16  *   You should have received a copy of the GNU General Public License
17  *   along with userv; if not, write to the Free Software
18  *   Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19  */
20
21 include(language.i4)
22
23 #ifndef TOKENS_H
24 #define TOKENS_H
25
26 enum tokens {
27   tokm_instance=           0x000000ff,
28   tokm_repres=             0x00000f00,
29   tokm_type=               0xfffff000,
30   tokr_nonstring=          0x00000100,
31   tokr_word=               0x00000200,
32   tokr_punct=              0x00000300,
33   tokr_string=             0x00000400,
34 undivert(4)
35 undivert(1)
36 undivert(2)
37 };
38
39 #endif
40
41 divert(-1)
42 undivert