root/trunk/aspell/patch-mk-static-filter.pl.diff

Revision 4035, 0.6 kB (checked in by marius, 3 years ago)

Added files

  • gen/mk-static-filter.pl

    old new  
    159159  printf STATICFILTERS "\n  const KeyInfo * ".${$filter}{"NAME"}."_options_begin = ". 
    160160                                              ${$filter}{"NAME"}."_options;\n"; 
    161161  # If structure is empty, set options_end to same as options_begin. 
    162   if (%{$filter}) { 
     162  if ($firstopt) { 
    163163    printf STATICFILTERS "\n  const KeyInfo * ".${$filter}{"NAME"}."_options_end = ". 
    164164                                                ${$filter}{"NAME"}."_options;\n"; 
    165165  } else { 
Note: See TracBrowser for help on using the browser.