summaryrefslogtreecommitdiff
path: root/support/texlab/crates/parser/src/latex/lexer/types.rs
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/crates/parser/src/latex/lexer/types.rs')
-rw-r--r--support/texlab/crates/parser/src/latex/lexer/types.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/support/texlab/crates/parser/src/latex/lexer/types.rs b/support/texlab/crates/parser/src/latex/lexer/types.rs
index 4e6c67ab1f..eea6ea3b44 100644
--- a/support/texlab/crates/parser/src/latex/lexer/types.rs
+++ b/support/texlab/crates/parser/src/latex/lexer/types.rs
@@ -35,7 +35,10 @@ pub enum Token {
#[token("=")]
Eq,
- #[regex(r"[^\s\\%\{\},\$\[\]\(\)=]+")]
+ #[token("|")]
+ Pipe,
+
+ #[regex(r"[^\s\\%\{\},\$\[\]\(\)=\|]+")]
Word,
#[regex(r"\$\$?")]
@@ -117,6 +120,7 @@ pub enum CommandName {
GraphicsPath,
BeginBlockComment,
EndBlockComment,
+ VerbatimBlock,
}
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Clone, Copy, Hash)]