From e53a0a93728c74ec919fc6b132696d192df099e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Wed, 27 Aug 2008 10:44:50 +0200
Subject: [PATCH] (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
---
 tools/misc.h | 6 +++---
 1 file 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,
-- 
GitLab