mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Changes to scanner and parser to allow record field comments.
The scanner can now be told to start/stop producing new token types that assist in documenting record field types (and eventually enums also). TOK_DOC: Produced on "##" style comments; documents the field that follows. TOK_POST_DOC: Produced on "##<" style comments; documents the previous field.
This commit is contained in:
parent
4b0eb8127d
commit
c4ca6f098c
3 changed files with 87 additions and 9 deletions
|
@ -30,6 +30,8 @@ extern void do_atifdef(const char* id);
|
|||
extern void do_atifndef(const char* id);
|
||||
extern void do_atelse();
|
||||
extern void do_atendif();
|
||||
extern void do_doc_token_start();
|
||||
extern void do_doc_token_stop();
|
||||
|
||||
extern int line_number;
|
||||
extern const char* filename;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue