fixed strings

This commit is contained in:
Erin 2022-02-24 21:53:43 +01:00 committed by ondra05
parent a23dac3ce0
commit 567665a314

View file

@ -122,7 +122,7 @@ pub enum Token {
Abool(Abool),
/// String
#[regex("/\\*(\\.|[^\\*/])*\\*/", get_string)]
#[regex(r"/\*([^\*]*\*+[^\*/])*([^\*]*\*+|[^\*]*\*/)", get_string)]
String(String),
/// Integer