blob: 9e750b63cf49d2be89d6852968623136e90d170c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* compiler.h - Header file for BPEG compiler.
*/
#ifndef COMPILER__H
#define COMPILER__H
#include <stdlib.h>
#include "types.h"
#include "file_loader.h"
__attribute__((nonnull(1,2)))
vm_op_t *bpeg_simplepattern(file_t *f, const char *str);
__attribute__((nonnull(1,2)))
vm_op_t *bpeg_stringpattern(file_t *f, const char *str);
__attribute__((nonnull(1,2)))
vm_op_t *bpeg_replacement(file_t *f, vm_op_t *pat, const char *replacement);
__attribute__((nonnull(1,2)))
vm_op_t *bpeg_pattern(file_t *f, const char *str);
#endif
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1
|