fixed strings

This commit is contained in:
Erin 2022-02-24 21:53:43 +01:00 committed by ondra05
parent a3a0663433
commit 55a455d110

View file

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