X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=token_t.h;h=848c3adeea95e74a2e1734f17c9295505da74943;hb=9e9141455d9e7a9028d7ffa1d5656b1e9bb25c74;hp=87077e8da63d1d0f6a65e406ff8e5795d8052671;hpb=21dbb2b9c84e8fed04ac38ebe5c0b7778ab666e3;p=cparser diff --git a/token_t.h b/token_t.h index 87077e8..848c3ad 100644 --- a/token_t.h +++ b/token_t.h @@ -27,9 +27,9 @@ #include "type.h" typedef enum token_type_t { + T_ERROR = -1, T_NULL = 0, - T_EOF = -1, - T_ERROR = -2, + T_EOF = '\x04', // EOT #define T(mode,x,str,val) T_##x val, #define TS(x,str,val) T_##x val, #include "tokens.inc"