diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-09-13 23:36:45 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-09-13 23:36:45 -0700 |
| commit | 9f2d5464d6fd2c2aeb6dc234c64bd3aafe22d6e0 (patch) | |
| tree | 993d9680f5072708539706d2798a057667e619d0 | |
| parent | 4135115229d27c54b70cd945e2211e652ab58d2f (diff) | |
Cleanup
| -rw-r--r-- | bpeg.bpeg | 2 | ||||
| -rw-r--r-- | bpeg.c | 4 |
2 files changed, 1 insertions, 5 deletions
@@ -7,7 +7,7 @@ Def = @[name]Ref __ `= __ @[definition]extended-pat; String-pattern = *(`\ pat ?`; / .); pat = suffixed-pat / simple-pat; -simple-pat = Empty / Upto / Dot / String / Char-range / Char / Escape-range / Escape / No / Anything-but +simple-pat = Empty / Upto / Dot / String / Char-range / Char / Escape-range / Escape / No / Repeat / After / Before / Capture / Replace / Ref / parens; suffixed-pat = Eq-pat; @@ -166,10 +166,6 @@ int main(int argc, char *argv[]) vm_op_t *pattern = lookup(g, rule); check(pattern != NULL, "No such rule: '%s'", rule); - if (verbose) { - print_pattern(pattern); - } - int ret = 0; if (i < argc) { // Files pass in as command line args: |
