aboutsummaryrefslogtreecommitdiff
path: root/src/wmap_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wmap_parser.h')
-rw-r--r--src/wmap_parser.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/wmap_parser.h b/src/wmap_parser.h
index fa4371b..e1b006f 100644
--- a/src/wmap_parser.h
+++ b/src/wmap_parser.h
@@ -17,14 +17,6 @@
#define WMAP_MAX_INERTIAS 256
#define WMAP_MAX_EVOLUTIONS 256
-#ifdef __mc68000__
-#define WMAP_68K_INLINE static
-#define WMAP_68K_FAST_CALL __attribute__((regparm(2)))
-#else
-#define WMAP_68K_INLINE static
-#define WMAP_68K_FAST_CALL
-#endif
-
/* Public Types */
typedef enum {
@@ -98,35 +90,8 @@ typedef struct {
/* Internal Types (needed for implementation) */
-typedef enum {
- WMAP_TOKEN_EOF = 0,
- WMAP_TOKEN_IDENTIFIER,
- WMAP_TOKEN_NUMBER,
- WMAP_TOKEN_LPAREN,
- WMAP_TOKEN_RPAREN,
- WMAP_TOKEN_LBRACKET,
- WMAP_TOKEN_RBRACKET,
- WMAP_TOKEN_COMMA,
- WMAP_TOKEN_ARROW,
- WMAP_TOKEN_DASH,
- WMAP_TOKEN_PLUS,
- WMAP_TOKEN_MINUS,
- WMAP_TOKEN_NEWLINE,
- WMAP_TOKEN_ERROR
-} wmap_token_type_t;
-
typedef struct {
const char* input;
- int pos;
- int line;
- int col;
- wmap_token_type_t current_token;
- char token_text[WMAP_MAX_NAME_LEN];
- float token_number;
-} wmap_lexer_t;
-
-typedef struct {
- wmap_lexer_t lexer;
wmap_map_t* map;
int error_count;
} wmap_parser_t;