diff options
Diffstat (limited to 'lib/sisu/v3/sst_from_xml.rb')
-rw-r--r-- | lib/sisu/v3/sst_from_xml.rb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/sisu/v3/sst_from_xml.rb b/lib/sisu/v3/sst_from_xml.rb index ab55f0de..cf5745d5 100644 --- a/lib/sisu/v3/sst_from_xml.rb +++ b/lib/sisu/v3/sst_from_xml.rb @@ -8,7 +8,7 @@ * Author: Ralph Amissah * Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012 Ralph Amissah, All Rights Reserved. + 2007, 2008, 2009, 2010, 2011, 2012, 2013 Ralph Amissah, All Rights Reserved. * License: GPL 3 or later: @@ -144,15 +144,18 @@ module SiSU_sstFromXML end end if xml =~/\.sxs\.xml$/ - unless @opt.cmd =~/q/; tell(xml,'sax') + unless @opt.cmd =~/q/ + tell(xml,'sax') end sax elsif xml =~/\.sxd\.xml$/ - unless @opt.cmd =~/q/; tell(xml,'dom') + unless @opt.cmd =~/q/ + tell(xml,'dom') end dom elsif xml =~/\.sxn\.xml$/ - unless @opt.cmd =~/q/; tell(xml,'node') + unless @opt.cmd =~/q/ + tell(xml,'node') end node else puts "filename not recognised: << #{xml} >>" |