mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-12 23:55:21 +00:00
Include comment text in token
This commit is contained in:
parent
60cbfd3a94
commit
1a28e49adc
4 changed files with 11 additions and 10 deletions
|
@ -1463,6 +1463,6 @@ extern {
|
|||
name => lexer::Tok::Name { name: <String> },
|
||||
"\n" => lexer::Tok::Newline,
|
||||
";" => lexer::Tok::Semi,
|
||||
"#" => lexer::Tok::Comment,
|
||||
"#" => lexer::Tok::Comment(_),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue