Merge remote-tracking branch 'origin/topic/bernhard/input-allow_invalid_types'

* origin/topic/bernhard/input-allow_invalid_types:
  to be sure - add a small assertion
  add an option to the input framework that allows the user to chose to not die upon encountering files/functions.

That's the last feature for 2.1!
This commit is contained in:
Robin Sommer 2012-08-22 16:11:10 -07:00
commit 42355bf6f1
8 changed files with 134 additions and 10 deletions

View file

@ -11,6 +11,13 @@ export {
## The default reader mode used. Defaults to `MANUAL`.
const default_mode = MANUAL &redef;
## Flag that controls if the input framework accepts records
## that contain types that are not supported (at the moment
## file and function). If true, the input framework will
## warn in these cases, but continue. If false, it will
## abort. Defaults to false (abort)
const accept_unsupported_types = F &redef;
## TableFilter description type used for the `table` method.
type TableDescription: record {
## Common definitions for tables and events