From 5e7f38475a28767bbb55686b18287c1a33eb9c58 Mon Sep 17 00:00:00 2001 From: Matthias Schuetz Date: Fri, 23 May 2014 09:33:35 +0200 Subject: [PATCH] symbol types should start at 1 --- parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.h b/parser.h index 806fb60..091aed5 100644 --- a/parser.h +++ b/parser.h @@ -2,7 +2,7 @@ #define __PARSER_H #include "base.h" -enum symbol_types { SYMBOL, OPENING_BRACE, CLOSING_BRACE }; +enum symbol_types { SYMBOL=1, OPENING_BRACE, CLOSING_BRACE }; object * parse_string(char *s);