chiark / gitweb /
debian: Use debhelper to generate maint scripts
[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  * userv is copyright Ian Jackson and other contributors.
5  * See README for full authorship information.
6  *
7  * This is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with userv; if not, see <http://www.gnu.org/licenses/>.
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