diff options
| author | Zuhaitz <zuhaitz.zechhub@gmail.com> | 2026-01-13 15:09:00 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-13 15:09:00 +0000 |
| commit | 4bbfca05a25305e330dc27b20db1d8aaf961b7d8 (patch) | |
| tree | 8363a4348fe4df57c7236e9016cbc6982bc0bbda | |
| parent | 0e253b90957ef2e8e8105ea65b1ff87d513bca9e (diff) | |
| parent | a8ab278b14d65a0a4de0dcfccbddaca6686ec08a (diff) | |
Merge pull request #37 from mmpataki/main
Remove unused label_counter parameter from emit_match_logic
| -rw-r--r-- | plugins/regex.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/regex.c b/plugins/regex.c index 8fe7c67..fb63986 100644 --- a/plugins/regex.c +++ b/plugins/regex.c @@ -36,8 +36,7 @@ void regex_transpile(const char *input_body, const ZApi *api) fprintf(target, " if (!text) return 0;\n"); fprintf(target, " const char *c = text;\n"); - int label_id = 0; - emit_match_logic(pattern, target, &label_id); + emit_match_logic(pattern, target); fprintf(target, " return 1;\n"); fprintf(target, "}\n"); |
