On Monday 10 November 2008 12:57:24 Petr Gajdos wrote:
> > aspell --mode=sgml -a
>
> Unhandled Error: The key "f-sgml-skip" is unknown.
> Aborted

Hopefully I found the culprit: look at static_filters.src.cpp:

---------8<-------------------------------------------
  static KeyInfo texinfo_options[] = {
    {
      "f-texinfo-ignore",
      KeyInfoList,
      
"setfilename:syncodeindex:documentencoding:vskip:code:kbd:key:samp:verb:var:env:file:command:option:url:uref:email:verbatiminclude:xref:ref:pxref:inforef:c",
      "Texinfo commands to ignore the parameters of"
    },
    {
      "f-texinfo-ignore-env",
      KeyInfoList,
      
"example:smallexample:verbatim:lisp:smalllisp:small:display:snalldisplay:format:smallformat",
      "Texinfo environments to ignore"
    }
  };

  const KeyInfo * texinfo_options_begin = texinfo_options;

  const KeyInfo * texinfo_options_end = texinfo_options;
--------->8-------------------------------------------

I don't know perl, but this works for me (it's really not elegant):

--- gen/mk-static-filter.pl
+++ gen/mk-static-filter.pl
@@ -159,7 +159,7 @@
   printf STATICFILTERS "\n  const KeyInfo * ".${$filter}
{"NAME"}."_options_begin = ".
                                               ${$filter}{"NAME"}."_options;
\n";
   # If structure is empty, set options_end to same as options_begin.
-  if (%{$filter}) {
+  if ($firstopt) {
     printf STATICFILTERS "\n  const KeyInfo * ".${$filter}
{"NAME"}."_options_end = ".
                                                 ${$filter}{"NAME"}."_options;
\n";
   } else {


_______________________________________________
Aspell-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/aspell-devel

Reply via email to