Browse Source

Gmt module: Simplify code.

gmtdatadir
Michael Uleysky 8 years ago
parent
commit
3be794e42c
  1. 2
      modules/gmt/modgmt_strcomp.h

2
modules/gmt/modgmt_strcomp.h

@ -76,7 +76,7 @@ class TemplateComparator
switch(b->type)
{
case(Block::TEXT): {res+=s.substr(b->b,b->e-b->b); break;}
case(Block::OPTIONAL): {b=b->child.get(); goto next;}
case(Block::OPTIONAL):
case(Block::VARIANTS): {b=b->child.get(); goto next;}
case(Block::DELIM): {b=b->parent; break;}
default: {}

Loading…
Cancel
Save