wip parsing and error
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
#ifndef PARSER_H
|
||||
#define PARSER_H
|
||||
|
||||
#include "libft.h"
|
||||
#include "lexer.h"
|
||||
#include "errors.h"
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef enum
|
||||
{
|
||||
TERM_LEFT, // a in "a = b"
|
||||
@@ -25,7 +20,7 @@ typedef struct
|
||||
term_position position;
|
||||
term_sign sign;
|
||||
double coefficient;
|
||||
int exponent;
|
||||
double exponent;
|
||||
} term;
|
||||
|
||||
int parse(token *tokens, term *terms, int terms_count_max);
|
||||
|
||||
Reference in New Issue
Block a user