fixed strings

pull/6/head
ondra05 2022-02-24 21:53:43 +01:00
parent 260e9efa84
commit 8c369d5cfc
1 changed files with 1 additions and 1 deletions

View File

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