mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Filter: Print proper error response in multiple method dispatch
When no matching method is found, print an error response containing position and type of infringing argument and a set of expected types.
This commit is contained in:
@@ -20,6 +20,8 @@ enum f_type {
|
||||
/* Nothing. Simply nothing. */
|
||||
T_VOID = 0,
|
||||
|
||||
T_NONE = 1, /* Special hack to represent missing arguments */
|
||||
|
||||
/* User visible types, which fit in int */
|
||||
T_INT = 0x10,
|
||||
T_BOOL = 0x11,
|
||||
|
Reference in New Issue
Block a user