Skip to content

Commit

Permalink
Correction warning message
Browse files Browse the repository at this point in the history
When there is a problem with a backticjk comment block we can get the message:

reached end of file while inside a ````' block!

this is a bit unreadable / non understandable as we see see 4 backticks followed by a single quote, it woulb be more readable when we get

reached end of file while inside a '```' block!
  • Loading branch information
albert-github committed Jun 1, 2019
1 parent 0a15da0 commit 962b9c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scanner.l
Expand Up @@ -6771,7 +6771,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
}
<DocCopyBlock><<EOF>> {
warn(yyFileName,yyLineNr,
"reached end of file while inside a `%s' block!\n"
"reached end of file while inside a '%s' block!\n"
"The command that should end the block seems to be missing!\n",
docBlockName.data());
yyterminate();
Expand Down

0 comments on commit 962b9c9

Please sign in to comment.