#include "options.ih"

void Options::setStype()
{
    if (not isFirstStypeDefinition())
        return;

    if (d_matched->find(';') == string::npos)
        d_stackDecl = "typedef " + *d_matched + " STYPE_;\n";
    else
        emsg << "`;' in %stype type-definition `" << *d_matched << '\'' << 
                endl;
}
