summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2008-08-27 10:44:50 +0200
committerNiels Möller <nisse@lysator.liu.se>2008-08-27 10:44:50 +0200
commite53a0a93728c74ec919fc6b132696d192df099e7 (patch)
treece402cf0f4435568bf29af3c9674dc110914a377 /tools
parent5224e6008f80cc9cb21ed5265e00eff60128dd2a (diff)
downloadnettle-e53a0a93728c74ec919fc6b132696d192df099e7.tar.gz
(enum sexp_token): Start enumeration with zero, zero
is no longer used to maen any type. New type SEXP_COMMENT. Rev: nettle/tools/misc.h:1.2
Diffstat (limited to 'tools')
-rw-r--r--tools/misc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/misc.h b/tools/misc.h
index 9009d795..ee5afcd1 100644
--- a/tools/misc.h
+++ b/tools/misc.h
@@ -52,14 +52,14 @@ enum sexp_mode
enum sexp_token
{
- /* Zero is used to mean "any token" in sexp_parse. */
- SEXP_STRING = 1,
+ SEXP_STRING,
SEXP_DISPLAY, /* Constructed by sexp_parse */
+ SEXP_COMMENT,
SEXP_LIST_START,
SEXP_LIST_END,
SEXP_EOF,
- /* The below types are internal to the input parsing. sexp-parse
+ /* The below types are internal to the input parsing. sexp_parse
* should never return a token of this type. */
SEXP_DISPLAY_START,
SEXP_DISPLAY_END,