We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f493a87 commit 9108dd7Copy full SHA for 9108dd7
vendor/opam-file-format/opamLexer.mll
@@ -150,6 +150,7 @@ rule token = parse
150
151
and string b = parse
152
| '\"' { () }
153
+| [^ '\\' '"' '\r' '\n']+ as s { Buffer.add_string b s; string b lexbuf }
154
| eol { newline lexbuf ;
155
Buffer.add_char b '\n' ; string b lexbuf }
156
| '\\' { (match escape lexbuf with
@@ -161,6 +162,7 @@ and string b = parse
161
162
163
and string_triple b = parse
164
| "\"\"\"" { () }
165
+| [^ '\\' '"' '\r' '\n']+ as s { Buffer.add_string b s; string_triple b lexbuf }
166
167
Buffer.add_char b '\n' ; string_triple b lexbuf }
168
0 commit comments