check-doc-syntax.sh test fails
@chpe
Submitted by Christian Persch Link to original bug (#613192)
Description
It fails on the macros that are documented in the header:
$ ./check-doc-syntax.sh
Checking documentation for incorrect syntax
./vtepty.h: * VTE_PTY_ERROR:
./vte.h: * VTE_IS_TERMINAL_ERASE_BINDING:
./vte.h: * VTE_IS_TERMINAL_ANTI_ALIAS:
./vteversion.h: * VTE_MAJOR_VERSION:
./vteversion.h: * VTE_MINOR_VERSION:
./vteversion.h: * VTE_MICRO_VERSION:
./vteversion.h: * VTE_CHECK_VERSION:
Error: some macros in the docs are not prefixed by percent sign.
Fix this by searching for the following regexp in the above files:
'^[^:]:[/ ][](|[ \t].)([^%@']|^)<(FALSE|TRUE|NULL|VTE_[0-9A-Z_])($|[^(A-Za-z0-9_])'
./vte.c: * @vte_spawn_flags controls logging the session to the specified system log files.
Error: some function names in the docs are not followed by parentheses.
Fix this by searching for the following regexp in the above files:
'^[^:]:[/ ][](|[ \t].)([^#']|^)<(vte_[][<>
/0-9a-z_]>[^][<>
(])'
Resolution: RESOLVED FIXED