X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gedcom_hilo.lex;h=5c674a7a17287cbabb4537f9450797a8293fabe3;hb=bbbad21718d5b8670fa5095f23ea502d558695c8;hp=418802ba75457757a1d66c1384bc9cf6a34e995f;hpb=edc367259f736f18ad9426a68efc153d75178e4d;p=gedcom-parse.git diff --git a/gedcom_hilo.lex b/gedcom_hilo.lex index 418802b..5c674a7 100644 --- a/gedcom_hilo.lex +++ b/gedcom_hilo.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