X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gedcom_lohi.lex;h=badd835d4015f7a74c80e12a6c4b0e67a8557916;hb=8c02fad7b6049ce1b2b4cf106c8e3bdbbe0774f3;hp=41d97ad79cdc56e5c032b9e47a470da9cc0c94fe;hpb=edc367259f736f18ad9426a68efc153d75178e4d;p=gedcom-parse.git diff --git a/gedcom_lohi.lex b/gedcom_lohi.lex index 41d97ad..badd835 100644 --- a/gedcom_lohi.lex +++ b/gedcom_lohi.lex @@ -16,6 +16,8 @@ %{ #undef IN_LEX /* include only a specific part of the following file */ #include "gedcom_lex_common.c" + +static size_t encoding_width = 2; %} %s NORMAL @@ -49,7 +51,7 @@ ACTION_BEFORE_REGEXPS %} -{gen_delim}* /* ignore leading whitespace (also tabs) */ +{gen_delim}* ACTION_INITIAL_WHITESPACE \x00[0]{digit}+ ACTION_0_DIGITS