blob: 7271498921ffe0a8e9b3cb078e6ee17a0a7c36f1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef ORYX_LEXER_H
#define ORYX_LEXER_H
#include <stddef.h>
#include <stdint.h>
enum {
LEXIDENT,
};
typedef uint8_t lexeme_kind;
struct lexeme {
lexeme_kind kind;
const char *p;
size_t len;
};
struct lexeme *lexstring(const char *, size_t, size_t *);
#endif /* !ORYX_LEXER_H */
|