Made handling of byte strings in scanner and parser much simpler,
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 20 Aug 1999 06:01:07 +0000 (06:01 +0000)
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 20 Aug 1999 06:01:07 +0000 (06:01 +0000)
commit1c968ed965550f46d09fff7cbc3201972dc6ad8b
treea29e565b897f9e25c707151a7b603b22316098b4
parent33de702ed0018bbf5b67d35a27a458ce82b1fdb6
Made handling of byte strings in scanner and parser much simpler,
improving size of grammar and creating the possibility of dfilter_compile
reporting errors back to user. In this case, if an ETHER variable is
compared against a byte string that is not 6 bytes, an error condition is
flagged appropriately. I have not put in the code to conver that error flag
to a message to the user, but that's what I'm working on next.

Also, fixed sample debug session in README to show correct gdb prompt.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@522 f5534014-38df-0310-8fa8-9805f1628bb7
README
dfilter-grammar.y
dfilter-scanner.l
dfilter.c
dfilter.h