Skip to content
Snippets Groups Projects
Commit e53a0a93 authored by Niels Möller's avatar Niels Möller
Browse files

(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
parent 5224e600
No related branches found
No related tags found
No related merge requests found
...@@ -52,14 +52,14 @@ enum sexp_mode ...@@ -52,14 +52,14 @@ enum sexp_mode
enum sexp_token enum sexp_token
{ {
/* Zero is used to mean "any token" in sexp_parse. */ SEXP_STRING,
SEXP_STRING = 1,
SEXP_DISPLAY, /* Constructed by sexp_parse */ SEXP_DISPLAY, /* Constructed by sexp_parse */
SEXP_COMMENT,
SEXP_LIST_START, SEXP_LIST_START,
SEXP_LIST_END, SEXP_LIST_END,
SEXP_EOF, 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. */ * should never return a token of this type. */
SEXP_DISPLAY_START, SEXP_DISPLAY_START,
SEXP_DISPLAY_END, SEXP_DISPLAY_END,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment