mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Filter/Conf: Method names have their own keyword hash
To allow for future dynamic method definition, parsing method names is done via a dedicated keyword hash/scope.
This commit is contained in:
committed by
Ondrej Zajicek
parent
6b95353ebd
commit
f86c86b791
@@ -143,6 +143,12 @@ struct sym_scope {
|
||||
byte readonly:1; /* Do not add new symbols */
|
||||
};
|
||||
|
||||
enum keyword_scope {
|
||||
CFK_KEYWORDS,
|
||||
CFK_METHODS,
|
||||
CFK__MAX
|
||||
};
|
||||
|
||||
extern struct sym_scope *global_root_scope;
|
||||
|
||||
struct bytestring {
|
||||
|
Reference in New Issue
Block a user