|
#ifndef SCANNER_H
|
|
#define SCANNER_H
|
|
|
|
#include <math.h>
|
|
#include <stdbool.h>
|
|
|
|
#include "token.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
Token *scan_ident(char **s);
|
|
Token *scan_integer(char **s);
|
|
Token *scan_flt(char **s);
|
|
Token **scan(char **s);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|