Skip to content

Commit 1bcf927

Browse files
committed
Fix unescaped backtick in documentation
On my machine(doxygen 1.16.1) the documentation task fails with: ``` include/prism/ast.h:8111: error: Reached end of file while still searching closing '`' of a verbatim block starting at line 8080 ```
1 parent 62c7300 commit 1bcf927

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/include/prism/ast.h.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*/
2323
typedef enum pm_token_type {
2424
<%- tokens.each do |token| -%>
25-
/** <%= token.comment %> */
25+
/** <%= token.comment.gsub('`', '\\\\`') %> */
2626
PM_TOKEN_<%= token.name %><%= " = #{token.value}" if token.value %>,
2727

2828
<%- end -%>

0 commit comments

Comments
 (0)