Skip to content

Commit

Permalink
More
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Mar 11, 2023
1 parent 2b01bbb commit 803220c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/swc_ecma_parser/src/lexer/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ const PRC: ByteHandler = Some(|lexer| lexer.read_token_mul_mod(b'%').map(Some));
/// `*`
const ATR: ByteHandler = Some(|lexer| lexer.read_token_mul_mod(b'*').map(Some));

/// `?`
const QST: ByteHandler = Some(|lexer| lexer.read_token_question_mark().map(Some));

macro_rules! single_char {
($name:ident, $c:literal, $token:ident) => {
const $name: ByteHandler = Some(|lexer| {
Expand Down

0 comments on commit 803220c

Please sign in to comment.