Skip to content

Commit

Permalink
Revert debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
Schottkyc137 committed Mar 2, 2024
1 parent 6955b6c commit 2bcc1d0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions vhdl_lang/src/syntax/tokens/tokenizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,8 @@ pub enum Kind {
Comma,
ColonEq,
RightArrow,
GraveAccent,
// `
Text, // Raw text that is not processed (i.e. tokenized) further. Used in tool directives
GraveAccent, // `
Text, // Raw text that is not processed (i.e. tokenized) further. Used in tool directives
}

use self::Kind::*;
Expand Down Expand Up @@ -622,9 +621,6 @@ pub trait TokenAccess {

impl TokenAccess for Vec<Token> {
fn get_token(&self, id: TokenId) -> &Token {
if id.0 >= self.len() {
eprintln!("Last token: {:?}", self.last());
}
&self[id.0]
}

Expand Down

0 comments on commit 2bcc1d0

Please sign in to comment.