We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e8c3fd + 676c45d commit da8641aCopy full SHA for da8641a
crates/squawk_lexer/src/lib.rs
@@ -387,7 +387,6 @@ impl Cursor<'_> {
387
while let Some(c) = self.bump() {
388
match c {
389
'$' => {
390
- self.bump();
391
break;
392
}
393
_ => {
@@ -755,4 +754,13 @@ U&"d!0061t!+000061" UESCAPE '!'
755
754
"foo "" bar"
756
"#))
757
+
758
+ #[test]
759
+ fn dollar_quoted_string() {
760
+ assert_debug_snapshot!(lex("$$$$"), @r#"
761
+ [
762
+ "$$$$" @ Literal { kind: DollarQuotedString { terminated: true } },
763
+ ]
764
+ "#);
765
+ }
766
0 commit comments