diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-07-17 16:53:13 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-07-17 16:53:13 -0700 |
| commit | 01410bd09d3fdbeb40f72999e46aefa99e205e73 (patch) | |
| tree | eb21e444d83862eeab44e43027762c115538eb4d /bp.c | |
| parent | debd5d886c010ccf8f556517b448813cb510d114 (diff) | |
Removed unnecessary code
Diffstat (limited to 'bp.c')
| -rw-r--r-- | bp.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -635,13 +635,6 @@ int main(int argc, char *argv[]) tty_out = fopen("/dev/tty", "w"); } - // To ensure recursion (and left recursion in particular) works properly, - // we need to define a rule called "pattern" with the value of whatever - // pattern the args specified, and use `pattern` as the thing being matched. - defs = with_def(defs, strlen("pattern"), "pattern", pattern); - file_t *patref_file = spoof_file(&loaded_files, "<pattern ref>", "pattern", -1); - pattern = bp_pattern(patref_file, patref_file->start); - int found = 0; if (options.mode == MODE_JSON) printf("["); if (options.git_mode) { // Get the list of files from `git --ls-files ...` |
