-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Line: 220
sirc/sirc-vm/toolchain/src/parsers/shared.rs
Lines 217 to 227 in 6b02032
| // category=Toolchain | |
| // TODO: Comments with nothing after the semicolon currently fail | |
| // category=Toolchain | |
| // TODO: Comments with a semi-colon in the body them seem to fail | |
| map(pair(char(';'), cut(is_not("\n\r"))), |(_, text)| { | |
| Token::Comment(String::from(text)) | |
| })(i) | |
| } | |
| fn parse_comment(i: &str) -> AsmResult<Token> { | |
| lexeme(parse_comment_)(i) |
Reactions are currently unavailable