Cthulhu
0.2.10
Cthulhu compiler collection
scan.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-3.0-only
2
3
#pragma once
4
5
#include "
core/where.h
"
6
7
#include <stddef.h>
8
9
typedef
struct
scan_t
scan_t
;
10
typedef
struct
vector_t
vector_t
;
11
12
typedef
struct
ctu_integer_t
ctu_integer_t
;
13
14
#define CTULTYPE where_t
15
16
void
ctu_parse_digit
(
scan_t
*scan,
where_t
where,
ctu_integer_t
*integer,
const
char
*str,
int
len,
size_t
base);
ctu_parse_digit
void ctu_parse_digit(scan_t *scan, where_t where, ctu_integer_t *integer, const char *str, int len, size_t base)
Definition:
scan.c:15
ctu_integer_t
Definition:
ast.h:15
scan_t
a source file scanner
Definition:
scan.h:24
vector_t
a generic vector of pointers
Definition:
vector.c:16
where_t
a location inside a scanner locations are inclusive and 0-based
Definition:
where.h:23
where.h
language
ctu
include
ctu
scan.h
Generated by
1.9.1