Require doc-strings to start with "/**" with exactly 2 asterisks.

Things like "/******* WARNING ********/" are now parsed as ordinary
comments. See #438.
This commit is contained in:
Brian Huffman 2017-11-15 11:36:25 -08:00
parent 511e97767f
commit 79fbb61aa7

View File

@ -57,7 +57,8 @@ $unitick = \x7
<0,comment> {
\/\* { startComment False }
\/\*\*+ { startComment True }
\/\*\* { startComment True }
\/\*\*\*+ { startComment False }
\/\*+\/ { startEndComment }
}