diff options
author | Maria Matejka <mq@ucw.cz> | 2023-06-13 09:39:29 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2023-09-12 15:47:24 +0200 |
commit | f86c86b7913f55c1221d8c5e1ff27700aa663a6e (patch) | |
tree | fb57686f11636843e22f2ae4966a5884df3eb807 /conf/conf.h | |
parent | 6b95353ebdaa724252492f941ebe75f80e9e545a (diff) |
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.
Diffstat (limited to 'conf/conf.h')
-rw-r--r-- | conf/conf.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/conf.h b/conf/conf.h index 8558fcba..f91d7039 100644 --- a/conf/conf.h +++ b/conf/conf.h @@ -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 { |