diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-02-01 20:21:25 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-02-01 20:21:25 +0000 |
commit | 8f1fff2e6a5c114c6beafd2983afb55acd3d66ae (patch) | |
tree | e33c08662c708dcfe71591897fe6ffab53bce135 /epan/exceptions.h | |
parent | 07a925ef8b0568a2c5b8098d5734364a40eeb2f6 (diff) |
Create a more modular type system for the FT_* types. Put them
into epan/ftypes.
Re-write display filter routines using Lemon parser instead of yacc.
Besides using a different tool, the new grammar is much simpler, while
the display filter engine itself is more powerful and more easily extended.
Add dftest executable, to test display filter "bytecode" generation.
Add option to "configure" to build dftest or randpkt, both of which are not
built by default.
Implement Ed Warnicke's ideas about dranges in the new display filter and
ftype code.
Remove type FT_TEXT_ONLY in favor of FT_NONE, and have protocols registered
as FT_PROTOCOL. Thus, FT_NONE is used only for simple labels in the proto tree,
while FT_PROTOCOL is used for protocols. This was necessary for being
able to make byte slices (ranges) out of protocols, like "frame[0:3]"
Win32 Makefile.nmake's will be added tonight.
svn path=/trunk/; revision=2967
Diffstat (limited to 'epan/exceptions.h')
-rw-r--r-- | epan/exceptions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/exceptions.h b/epan/exceptions.h index 19eda9fe2b..54932dd2f5 100644 --- a/epan/exceptions.h +++ b/epan/exceptions.h @@ -11,6 +11,7 @@ /* Ethereal's exceptions */ #define BoundsError 1 /* Index is out of range */ #define ReportedBoundsError 2 /* Index is beyond reported length (not cap_len) */ +#define TypeError 3 /* During dfilter parsing */ /* Usage: * |