init parser
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
#ifndef LEXER_H
|
||||
#define LEXER_H
|
||||
|
||||
#include "libft.h"
|
||||
#include "errors.h"
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef enum
|
||||
{
|
||||
TOKEN_VARIABLE, // x, y, etc.
|
||||
@@ -24,6 +28,6 @@ typedef struct
|
||||
};
|
||||
} token;
|
||||
|
||||
void lexerize(const char *input, token *tokens);
|
||||
int lexerize(const char *input, token *tokens);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user