Adding epislon and nothing
This commit is contained in:
parent
875c9b9c57
commit
e69fd2e5b9
2 changed files with 11 additions and 1 deletions
|
|
@ -8,10 +8,15 @@ static HParseResult* parse_epsilon(void* env, HParseState* state) {
|
|||
return res;
|
||||
}
|
||||
|
||||
static bool episilon_ctrvm(HRVMProg *prog, void* env) {
|
||||
return true;
|
||||
}
|
||||
|
||||
static const HParserVtable epsilon_vt = {
|
||||
.parse = parse_epsilon,
|
||||
.isValidRegular = h_true,
|
||||
.isValidCF = h_true,
|
||||
.compile_to_rvm = episilon_ctrvm,
|
||||
};
|
||||
|
||||
static const HParser epsilon_p = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue