summaryrefslogtreecommitdiff
path: root/dhctoken.h
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1996-05-22 08:07:11 +0000
committerTed Lemon <source@isc.org>1996-05-22 08:07:11 +0000
commitf4e348de94aadd1868e665692c337750a96d237a (patch)
tree2985eefc3f1c3c9e9cff8a17d4b5eca46afb2473 /dhctoken.h
parent54d9cf28eec5f431b5d702b1bbef8940a0e02fe1 (diff)
downloadisc-dhcp-f4e348de94aadd1868e665692c337750a96d237a.tar.gz
Add test for EOF token
Diffstat (limited to 'dhctoken.h')
-rw-r--r--dhctoken.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dhctoken.h b/dhctoken.h
index 37d7f0e3..2d37a493 100644
--- a/dhctoken.h
+++ b/dhctoken.h
@@ -82,4 +82,5 @@
#define is_identifier(x) ((x) >= FIRST_TOKEN && \
(x) != STRING && \
- (x) != NUMBER)
+ (x) != NUMBER && \
+ (x) != EOF)