mirror of
https://github.com/latex-lsp/texlab.git
synced 2025-08-03 18:29:03 +00:00
parent
d32de1548a
commit
d97d4de1a3
3 changed files with 7 additions and 2 deletions
|
@ -717,7 +717,7 @@ impl<'a> Parser<'a> {
|
|||
| Token::RBrack
|
||||
| Token::CommandName(CommandName::Generic) => self.path(),
|
||||
Token::LCurly => self.curly_group_path(),
|
||||
Token::Whitespace => self.eat(),
|
||||
Token::Whitespace | Token::Pipe => self.eat(),
|
||||
_ => break,
|
||||
};
|
||||
}
|
||||
|
@ -741,7 +741,7 @@ impl<'a> Parser<'a> {
|
|||
| Token::LParen
|
||||
| Token::RParen
|
||||
| Token::CommandName(CommandName::Generic) => self.path(),
|
||||
Token::Whitespace | Token::LineBreak | Token::Comma => self.eat(),
|
||||
Token::Whitespace | Token::LineBreak | Token::Comma | Token::Pipe => self.eat(),
|
||||
Token::LCurly => self.curly_group_path(),
|
||||
_ => break,
|
||||
};
|
||||
|
|
1
crates/parser/src/test_data/latex/issue_568.txt
Normal file
1
crates/parser/src/test_data/latex/issue_568.txt
Normal file
|
@ -0,0 +1 @@
|
|||
\input{|ipython scripts/test.ipynb}
|
Loading…
Add table
Add a link
Reference in a new issue