string const & c,
string const & o,
string const & s)
- : cmdname(n), contents(c), options(o), sec_options(s),
+ : cmdname(n), contents(c), options(o), sec_options(s),
preview_(false)
{}
string tcmdname, toptions, tsecoptions, tcontents;
if (cmd.empty()) return;
-
+
enum { WS, CMDNAME, OPTION, SECOPTION, CONTENT } state = WS;
// Used to handle things like \command[foo[bar]]{foo{bar}}
<< "> == <" << getCommand()
<< "> == <" << getCmdName()
<< '|' << getContents()
- << '|' << getOptions()
+ << '|' << getOptions()
<< '|' << getSecOptions() << '>' << endl;
}