BohlSeb / FlexMC

0 stars 0 forks source link

Add input preprocessing into lines, then tokenize only per line #9

Open BohlSeb opened 11 months ago

BohlSeb commented 11 months ago

std::regex has no flag to switch of the global m multiline flag, so the lexer cannot tokenize the complete input string. Preprocess the input so that the lexer does not encounter new lines.