mirror of
https://github.com/CatalaLang/catala.git
synced 2024-09-19 16:28:12 +03:00
Fix line-lexer on french syntax
"Usage de" being two words was tripping it
This commit is contained in:
parent
2c6e6bf0b5
commit
263cf3a9f7
@ -813,7 +813,8 @@ let line_test_id_re =
|
|||||||
let line_dir_arg_re =
|
let line_dir_arg_re =
|
||||||
Re.(compile @@ seq [
|
Re.(compile @@ seq [
|
||||||
bos; char '>'; rep space; rep1 alpha;
|
bos; char '>'; rep space; rep1 alpha;
|
||||||
alt [rep1 space; seq [rep space; char ':'; rep space]];
|
rep1 any;
|
||||||
|
alt [space; char ':'];
|
||||||
group (rep1 (diff any space));
|
group (rep1 (diff any space));
|
||||||
eol
|
eol
|
||||||
])
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user