forked from enlightenment/equate
Fix warnings, update generated parser
This commit is contained in:
parent
360560acc2
commit
07e9e8a092
|
@ -10,6 +10,7 @@ double equate_eval(void);
|
||||||
const char *equate_string_get(void);
|
const char *equate_string_get(void);
|
||||||
Eina_Bool equate_ok(void);
|
Eina_Bool equate_ok(void);
|
||||||
|
|
||||||
|
void math_init(void);
|
||||||
|
|
||||||
/* Fonctions type. */
|
/* Fonctions type. */
|
||||||
typedef double (*func_t) (double);
|
typedef double (*func_t) (double);
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
%{
|
%{
|
||||||
#include <math.h> /* For math functions, cos(), sin(), etc. */
|
#include <math.h> /* For math functions, cos(), sin(), etc. */
|
||||||
|
#include "calc.h"
|
||||||
#include "Equate.h"
|
#include "Equate.h"
|
||||||
|
|
||||||
#define YYERROR_VERBOSE
|
#define YYERROR_VERBOSE
|
||||||
|
|
||||||
void
|
void
|
||||||
yyerror (const char *s);
|
yyerror (const char *s);
|
||||||
|
int
|
||||||
|
yylex();
|
||||||
|
|
||||||
double _result;
|
double _result;
|
||||||
char tmp[BUFLEN];
|
char tmp[BUFLEN];
|
||||||
|
|
1549
src/calc_lex.c
1549
src/calc_lex.c
File diff suppressed because it is too large
Load Diff
1584
src/calc_parse.c
1584
src/calc_parse.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue