diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2017-05-02 00:02:24 +0300 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2017-05-02 00:02:24 +0300 |
commit | 83fa03bbc9b60f0ac4689c0a719d93cbf199367c (patch) | |
tree | fe166b05139fb5c18d33ce4acaef56279a59dbfa /src | |
parent | 782bdd3b64fb9df191a225e22cd8ce96d9410338 (diff) |
validator.rl: Allow multiple filters
Diffstat (limited to 'src')
-rw-r--r-- | src/fspec/validator.rl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fspec/validator.rl b/src/fspec/validator.rl index 093348d..c919867 100644 --- a/src/fspec/validator.rl +++ b/src/fspec/validator.rl @@ -202,7 +202,7 @@ struct state { OP_FILTER = 5 (OP_ARG_STR (OP_ARG_NUM | OP_ARG_VAR | OP_ARG_STR)*) $!op_error; OP_VISUAL = 6 (OP_ARG_NUM %check_visual_type) $!op_error; - pattern = (OP_DECLARATION %check_struct <: (OP_DECLARATION %check_member (OP_READ | OP_GOTO) OP_FILTER? OP_VISUAL? %check_member_end)*)* %check_struct_end $!pattern_error; + pattern = (OP_DECLARATION %check_struct <: (OP_DECLARATION %check_member (OP_READ | OP_GOTO) OP_FILTER* OP_VISUAL? %check_member_end)*)* %check_struct_end $!pattern_error; main := (OP_HEADER <: pattern) %check_decls $advance $!syntax_error; }%% |