diff options
author | João Valverde <j@v6e.pt> | 2021-11-28 01:15:09 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2021-11-30 19:52:05 +0000 |
commit | 3e0806ca0938b9fff0b917cb7ff1d17f9c785650 (patch) | |
tree | 5a4f7af34c8096cff54384791aa52c511608b687 /epan/dfilter/dfilter-int.h | |
parent | a6f978b4d38fa6d81a5e1970929f8b231d4fcfc5 (diff) |
dfilter: Remove dfilter_fail_parse()
Instead of requiring a special error function in the parser
just set the syntax_error flag if an error occurs, in any stage
of compilation. Outside of the parser loop it will not be used
but that is fine.
Diffstat (limited to 'epan/dfilter/dfilter-int.h')
-rw-r--r-- | epan/dfilter/dfilter-int.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dfilter/dfilter-int.h b/epan/dfilter/dfilter-int.h index 451226907c..4e027c3882 100644 --- a/epan/dfilter/dfilter-int.h +++ b/epan/dfilter/dfilter-int.h @@ -109,9 +109,6 @@ void dfilter_fail_throw(dfwork_t *dfw, long code, const char *format, ...) G_GNUC_PRINTF(3, 4); void -dfilter_fail_parse(dfwork_t *dfw, const char *format, ...) G_GNUC_PRINTF(2, 3); - -void add_deprecated_token(dfwork_t *dfw, const char *token); void |