dfilter: Remove deprecated ~= operator symbol

This commit is contained in:
João Valverde 2023-07-17 20:44:39 +01:00
parent ca8976020f
commit 74bfa8a03d
2 changed files with 1 additions and 4 deletions

View File

@ -131,6 +131,7 @@ Recognizes PCAP traces with the link type LINKTYPE_FIRA_UCI=299.
** Added XOR logical operator.
** Fixed the implementation of `all ... in` membership operator
(https://gitlab.com/wireshark/wireshark/-/issues/19188[#19188]).
** The deprecated ~≃ operator symbol has been removed. It was replaced by !== in version 4.0.
* Running the test suite requires the https://pypi.org/project/pytest/[pytest]
Python module. The emulation layer that allowed running tests without pytest

View File

@ -172,10 +172,6 @@ HexExponent ([pP][+-]?[[:digit:]]+)
"===" return test(TOKEN_TEST_ALL_EQ);
"all_eq" return test(TOKEN_TEST_ALL_EQ);
"!==" return test(TOKEN_TEST_ANY_NE);
"~=" {
add_deprecated_token(yyextra, "The operator \"~=\" is deprecated, use \"!==\" instead.");
return test(TOKEN_TEST_ANY_NE);
}
"any_ne" return test(TOKEN_TEST_ANY_NE);
">" return test(TOKEN_TEST_GT);
"gt" return test(TOKEN_TEST_GT);