diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-01-28 14:23:13 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-01-28 22:23:45 +0000 |
commit | 7d4b47a0734c02df279ca983a017e1dfb4e35d12 (patch) | |
tree | bf79db7b2951ff575aefa96316888aae63d0a7aa | |
parent | e8f54b8aed64d586bd0893e2c8b44bb42731761b (diff) |
Further improve that error message.
Put the function name in quotes.
Change-Id: I09be392a9bac3b56c13b82a554d17ea29695657c
Reviewed-on: https://code.wireshark.org/review/31790
Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r-- | epan/dfilter/grammar.lemon | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dfilter/grammar.lemon b/epan/dfilter/grammar.lemon index 301fc98032..c29b91a592 100644 --- a/epan/dfilter/grammar.lemon +++ b/epan/dfilter/grammar.lemon @@ -105,7 +105,7 @@ any "error" symbols are shifted, if possible. */ dfilter_fail(dfw, "Syntax error near \"%s\".", hfinfo->abbrev); break; case STTYPE_FUNCTION: - dfilter_fail(dfw, "The function %s was unexpected in this context.", + dfilter_fail(dfw, "The function \"%s\" was unexpected in this context.", sttype_function_funcdef(TOKEN)->name); break; case STTYPE_SET: |