mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
Broxygen fix for function parameter recognition; better than 80b2451
.
This commit is contained in:
parent
3b91df8cf5
commit
8394829fb1
1 changed files with 2 additions and 2 deletions
|
@ -167,7 +167,7 @@ ESCSEQ (\\([^\n]|[0-7]+|x[[:xdigit:]]+))
|
|||
return TOK_POST_DOC;
|
||||
}
|
||||
|
||||
<DOC>##{OWS}{ID}:[^:].* {
|
||||
<DOC>##{OWS}{ID}:{WS}.* {
|
||||
const char* id_start = skip_whitespace(yytext + 2);
|
||||
yylval.str = copy_string(canon_doc_func_param(id_start).c_str());
|
||||
return TOK_DOC;
|
||||
|
@ -181,7 +181,7 @@ ESCSEQ (\\([^\n]|[0-7]+|x[[:xdigit:]]+))
|
|||
}
|
||||
}
|
||||
|
||||
##{OWS}{ID}:[^:].* {
|
||||
##{OWS}{ID}:{WS}.* {
|
||||
if ( generate_documentation )
|
||||
{
|
||||
// Comment is documenting either a function parameter or return type,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue