summaryrefslogtreecommitdiffstats
path: root/lib/token.h
diff options
context:
space:
mode:
authorGreg McGary <greg@mcgary.org>1999-04-05 08:51:16 +0000
committerGreg McGary <greg@mcgary.org>1999-04-05 08:51:16 +0000
commit26ef7b4bb5b3e3c4edbde5aa98bf19f79a10e493 (patch)
treef93b85768bce328f48d16cb6ac860e507a3c25db /lib/token.h
parentf09869090ba5932b3110b859c87368eebfc7fb53 (diff)
downloadidutils-26ef7b4bb5b3e3c4edbde5aa98bf19f79a10e493.tar.gz
idutils-26ef7b4bb5b3e3c4edbde5aa98bf19f79a10e493.tar.bz2
idutils-26ef7b4bb5b3e3c4edbde5aa98bf19f79a10e493.zip
.
Diffstat (limited to 'lib/token.h')
-rw-r--r--lib/token.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/lib/token.h b/lib/token.h
deleted file mode 100644
index 41c8e28..0000000
--- a/lib/token.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/* token.h -- defs for interface to token.c
- Copyright (C) 1986, 1995, 1996 Free Software Foundation, Inc.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-
-#ifndef _token_h_
-#define _token_h_
-
-/* token flags (struct token is in mkid.c) */
-#define TOK_VECTOR 0x01 /* 1 = hits are stored as a vector
- 0 = hits are stored as a 8-way tree of bits
- mkid chooses whichever is more compact.
- vector is more compact for tokens with few hits */
-#define TOK_NUMBER 0x02 /* occurs as a number */
-#define TOK_NAME 0x04 /* occurs as a name */
-#define TOK_STRING 0x08 /* occurs in a string */
-#define TOK_LITERAL 0x10 /* occurs as a literal */
-#define TOK_COMMENT 0x20 /* occurs in a comment */
-#define TOK_UNUSED_1 0x40
-#define TOK_SHORT_COUNT 0x80 /* count is two bytes */
-
-#define tok_string(buf) (buf)
-unsigned int tok_flags __P((char const *buf));
-unsigned short tok_count __P((char const *buf));
-unsigned char const *tok_hits_addr __P((char const *buf));
-
-#endif /* not _token_h_ */