Release 0.9
[gedcom-parse.git] / gedcom_lohi.lex
index 41d97ad79cdc56e5c032b9e47a470da9cc0c94fe..badd835d4015f7a74c80e12a6c4b0e67a8557916 100644 (file)
@@ -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
   
 %}
 
-<INITIAL>{gen_delim}* /* ignore leading whitespace (also tabs) */
+<INITIAL>{gen_delim}*     ACTION_INITIAL_WHITESPACE
 
 <INITIAL>\x00[0]{digit}+  ACTION_0_DIGITS