mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-17 04:44:39 +03:00
Rename function "endComent" to "endComment"
This commit is contained in:
parent
22bb49b3b5
commit
7ccea5dd98
@ -62,7 +62,7 @@ $unitick = \x7
|
||||
}
|
||||
|
||||
<comment> {
|
||||
\*+\/ { endComent }
|
||||
\*+\/ { endComment }
|
||||
[^\*\/]+ { addToComment }
|
||||
\* { addToComment }
|
||||
\/ { addToComment }
|
||||
|
@ -62,8 +62,8 @@ startComment isDoc _ p txt s = (Nothing, InComment d p stack chunks)
|
||||
InComment doc q qs cs -> (doc, q : qs, txt : cs)
|
||||
_ -> panic "[Lexer] startComment" ["in a string"]
|
||||
|
||||
endComent :: Action
|
||||
endComent cfg p txt s =
|
||||
endComment :: Action
|
||||
endComment cfg p txt s =
|
||||
case s of
|
||||
InComment d f [] cs -> (Just (mkToken d f cs), Normal)
|
||||
InComment d _ (q:qs) cs -> (Nothing, InComment d q qs (txt : cs))
|
||||
|
Loading…
Reference in New Issue
Block a user