Bug fix: \endfoo wrongly classified as \end{foo}
This commit is contained in:
parent
57ad27f1e5
commit
35420ad975
|
@ -83,7 +83,7 @@ object LaTeXLexer extends RegexParsers {
|
|||
}
|
||||
|
||||
def end0: Parser[String] = {
|
||||
"\\\\end[^\\{]*".r ^^ (_.toString)
|
||||
"\\\\end\\{.*".r ^^ (_.toString)
|
||||
/* grabs whitespace and also env options ... */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue