123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831 |
- /*
- * 2007 Victor Hugo Borja <vic@rubyforge.org>
- * Copyright 2001-2007 Adrian Thurston <thurston@complang.org>
- */
- /* This file is part of Ragel.
- *
- * Ragel is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * Ragel is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Ragel; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
- #include <iomanip>
- #include <sstream>
- #include "redfsm.h"
- #include "gendata.h"
- #include "ragel.h"
- #include "rubycodegen.h"
- #include "pcheck.h"
- #include "vector.h"
- #include "version.h"
- #include "common.h"
- #include "ragel.h"
- #include "rubytable.h"
- #include "rubyftable.h"
- #include "rubyflat.h"
- #include "rubyfflat.h"
- #include "rbxgoto.h"
- using std::ostream;
- using std::ostringstream;
- using std::string;
- using std::cerr;
- using std::endl;
- using std::istream;
- using std::ifstream;
- using std::ostream;
- using std::ios;
- using std::cin;
- using std::cout;
- using std::cerr;
- using std::endl;
- /* Target ruby impl */
- /* Target language and output style. */
- extern CodeStyle codeStyle;
- extern int numSplitPartitions;
- extern bool noLineDirectives;
- /*
- * Callbacks invoked by the XML data parser.
- */
- void rubyLineDirective( ostream &out, const char *fileName, int line )
- {
- if ( noLineDirectives )
- return;
- /* Write a comment containing line info. */
- out << "# line " << line << " \"";
- for ( const char *pc = fileName; *pc != 0; pc++ ) {
- if ( *pc == '\\' )
- out << "\\\\";
- else
- out << *pc;
- }
- out << "\"\n";
- }
- void RubyCodeGen::genLineDirective( ostream &out )
- {
- std::streambuf *sbuf = out.rdbuf();
- output_filter *filter = static_cast<output_filter*>(sbuf);
- rubyLineDirective( out, filter->fileName, filter->line + 1 );
- }
- string RubyCodeGen::DATA_PREFIX()
- {
- if ( !noPrefix )
- return FSM_NAME() + "_";
- return "";
- }
- std::ostream &RubyCodeGen::STATIC_VAR( string type, string name )
- {
- out <<
- "class << self\n"
- " attr_accessor :" << name << "\n"
- "end\n"
- "self." << name;
- return out;
- }
- std::ostream &RubyCodeGen::OPEN_ARRAY( string type, string name )
- {
- out <<
- "class << self\n"
- " attr_accessor :" << name << "\n"
- " private :" << name << ", :" << name << "=\n"
- "end\n"
- "self." << name << " = [\n";
- return out;
- }
- std::ostream &RubyCodeGen::CLOSE_ARRAY()
- {
- out << "]\n";
- return out;
- }
- string RubyCodeGen::ARR_OFF( string ptr, string offset )
- {
- return ptr + "[" + offset + "]";
- }
- string RubyCodeGen::NULL_ITEM()
- {
- return "nil";
- }
- string RubyCodeGen::P()
- {
- ostringstream ret;
- if ( pExpr == 0 )
- ret << "p";
- else {
- //ret << "(";
- INLINE_LIST( ret, pExpr, 0, false );
- //ret << ")";
- }
- return ret.str();
- }
- string RubyCodeGen::PE()
- {
- ostringstream ret;
- if ( peExpr == 0 )
- ret << "pe";
- else {
- //ret << "(";
- INLINE_LIST( ret, peExpr, 0, false );
- //ret << ")";
- }
- return ret.str();
- }
- string RubyCodeGen::vEOF()
- {
- ostringstream ret;
- if ( eofExpr == 0 )
- ret << "eof";
- else {
- //ret << "(";
- INLINE_LIST( ret, eofExpr, 0, false );
- //ret << ")";
- }
- return ret.str();
- }
- string RubyCodeGen::vCS()
- {
- ostringstream ret;
- if ( csExpr == 0 )
- ret << ACCESS() << "cs";
- else {
- //ret << "(";
- INLINE_LIST( ret, csExpr, 0, false );
- //ret << ")";
- }
- return ret.str();
- }
- string RubyCodeGen::TOP()
- {
- ostringstream ret;
- if ( topExpr == 0 )
- ret << ACCESS() + "top";
- else {
- //ret << "(";
- INLINE_LIST( ret, topExpr, 0, false );
- //ret << ")";
- }
- return ret.str();
- }
- string RubyCodeGen::STACK()
- {
- ostringstream ret;
- if ( stackExpr == 0 )
- ret << ACCESS() + "stack";
- else {
- //ret << "(";
- INLINE_LIST( ret, stackExpr, 0, false );
- //ret << ")";
- }
- return ret.str();
- }
- string RubyCodeGen::ACT()
- {
- ostringstream ret;
- if ( actExpr == 0 )
- ret << ACCESS() + "act";
- else {
- //ret << "(";
- INLINE_LIST( ret, actExpr, 0, false );
- //ret << ")";
- }
- return ret.str();
- }
- string RubyCodeGen::TOKSTART()
- {
- ostringstream ret;
- if ( tokstartExpr == 0 )
- ret << ACCESS() + "ts";
- else {
- //ret << "(";
- INLINE_LIST( ret, tokstartExpr, 0, false );
- //ret << ")";
- }
- return ret.str();
- }
- string RubyCodeGen::TOKEND()
- {
- ostringstream ret;
- if ( tokendExpr == 0 )
- ret << ACCESS() + "te";
- else {
- //ret << "(";
- INLINE_LIST( ret, tokendExpr, 0, false );
- //ret << ")";
- }
- return ret.str();
- }
- string RubyCodeGen::DATA()
- {
- ostringstream ret;
- if ( dataExpr == 0 )
- ret << ACCESS() + "data";
- else {
- //ret << "(";
- INLINE_LIST( ret, dataExpr, 0, false );
- //ret << ")";
- }
- return ret.str();
- }
- /* Write out the fsm name. */
- string RubyCodeGen::FSM_NAME()
- {
- return fsmName;
- }
- void RubyCodeGen::ACTION( ostream &ret, GenAction *action, int targState, bool inFinish )
- {
- /* Write the preprocessor line info for going into the source file. */
- rubyLineDirective( ret, action->loc.fileName, action->loc.line );
- /* Write the block and close it off. */
- ret << " begin\n";
- INLINE_LIST( ret, action->inlineList, targState, inFinish );
- ret << " end\n";
- }
- string RubyCodeGen::GET_WIDE_KEY()
- {
- if ( redFsm->anyConditions() )
- return "_widec";
- else
- return GET_KEY();
- }
- string RubyCodeGen::GET_WIDE_KEY( RedStateAp *state )
- {
- if ( state->stateCondList.length() > 0 )
- return "_widec";
- else
- return GET_KEY();
- }
- string RubyCodeGen::GET_KEY()
- {
- ostringstream ret;
- if ( getKeyExpr != 0 ) {
- /* Emit the user supplied method of retrieving the key. */
- ret << "(";
- INLINE_LIST( ret, getKeyExpr, 0, false );
- ret << ")";
- }
- else {
- /* Expression for retrieving the key, use dereference and read ordinal,
- * for compatibility with Ruby 1.9. */
- ret << DATA() << "[" << P() << "].ord";
- }
- return ret.str();
- }
- string RubyCodeGen::KEY( Key key )
- {
- ostringstream ret;
- if ( keyOps->isSigned || !hostLang->explicitUnsigned )
- ret << key.getVal();
- else
- ret << (unsigned long) key.getVal();
- return ret.str();
- }
- /* Write out level number of tabs. Makes the nested binary search nice
- * looking. */
- string RubyCodeGen::TABS( int level )
- {
- string result;
- while ( level-- > 0 )
- result += "\t";
- return result;
- }
- string RubyCodeGen::INT( int i )
- {
- ostringstream ret;
- ret << i;
- return ret.str();
- }
- void RubyCodeGen::CONDITION( ostream &ret, GenAction *condition )
- {
- ret << "\n";
- rubyLineDirective( ret, condition->loc.fileName, condition->loc.line );
- INLINE_LIST( ret, condition->inlineList, 0, false );
- }
- /* Emit the alphabet data type. */
- string RubyCodeGen::ALPH_TYPE()
- {
- string ret = keyOps->alphType->data1;
- if ( keyOps->alphType->data2 != 0 ) {
- ret += " ";
- ret += + keyOps->alphType->data2;
- }
- return ret;
- }
- /* Emit the alphabet data type. */
- string RubyCodeGen::WIDE_ALPH_TYPE()
- {
- string ret;
- if ( redFsm->maxKey <= keyOps->maxKey )
- ret = ALPH_TYPE();
- else {
- long long maxKeyVal = redFsm->maxKey.getLongLong();
- HostType *wideType = keyOps->typeSubsumes( keyOps->isSigned, maxKeyVal );
- assert( wideType != 0 );
- ret = wideType->data1;
- if ( wideType->data2 != 0 ) {
- ret += " ";
- ret += wideType->data2;
- }
- }
- return ret;
- }
- string RubyCodeGen::ARRAY_TYPE( unsigned long maxVal )
- {
- long long maxValLL = (long long) maxVal;
- HostType *arrayType = keyOps->typeSubsumes( maxValLL );
- assert( arrayType != 0 );
- string ret = arrayType->data1;
- if ( arrayType->data2 != 0 ) {
- ret += " ";
- ret += arrayType->data2;
- }
- return ret;
- }
- /* Write out the array of actions. */
- std::ostream &RubyCodeGen::ACTIONS_ARRAY()
- {
- START_ARRAY_LINE();
- int totalActions = 0;
- ARRAY_ITEM( INT(0), ++totalActions, false );
- for ( GenActionTableMap::Iter act = redFsm->actionMap; act.lte(); act++ ) {
- /* Write out the length, which will never be the last character. */
- ARRAY_ITEM( INT(act->key.length()), ++totalActions, false );
- for ( GenActionTable::Iter item = act->key; item.lte(); item++ ) {
- ARRAY_ITEM( INT(item->value->actionId), ++totalActions, (act.last() && item.last()) );
- }
- }
- END_ARRAY_LINE();
- return out;
- }
- void RubyCodeGen::STATE_IDS()
- {
- if ( redFsm->startState != 0 )
- STATIC_VAR( "int", START() ) << " = " << START_STATE_ID() << ";\n";
- if ( !noFinal )
- STATIC_VAR( "int" , FIRST_FINAL() ) << " = " << FIRST_FINAL_STATE() << ";\n";
- if ( !noError )
- STATIC_VAR( "int", ERROR() ) << " = " << ERROR_STATE() << ";\n";
- out << "\n";
- if ( !noEntry && entryPointNames.length() > 0 ) {
- for ( EntryNameVect::Iter en = entryPointNames; en.lte(); en++ ) {
- STATIC_VAR( "int", DATA_PREFIX() + "en_" + *en ) <<
- " = " << entryPointIds[en.pos()] << ";\n";
- }
- out << "\n";
- }
- }
- std::ostream &RubyCodeGen::START_ARRAY_LINE()
- {
- out << "\t";
- return out;
- }
- std::ostream &RubyCodeGen::ARRAY_ITEM( string item, int count, bool last )
- {
- out << item;
- if ( !last )
- {
- out << ", ";
- if ( count % IALL == 0 )
- {
- END_ARRAY_LINE();
- START_ARRAY_LINE();
- }
- }
- return out;
- }
- std::ostream &RubyCodeGen::END_ARRAY_LINE()
- {
- out << "\n";
- return out;
- }
- /* Emit the offset of the start state as a decimal integer. */
- string RubyCodeGen::START_STATE_ID()
- {
- ostringstream ret;
- ret << redFsm->startState->id;
- return ret.str();
- };
- string RubyCodeGen::ERROR_STATE()
- {
- ostringstream ret;
- if ( redFsm->errState != 0 )
- ret << redFsm->errState->id;
- else
- ret << "-1";
- return ret.str();
- }
- string RubyCodeGen::FIRST_FINAL_STATE()
- {
- ostringstream ret;
- if ( redFsm->firstFinState != 0 )
- ret << redFsm->firstFinState->id;
- else
- ret << redFsm->nextStateId;
- return ret.str();
- }
- string RubyCodeGen::ACCESS()
- {
- ostringstream ret;
- if ( accessExpr != 0 )
- INLINE_LIST( ret, accessExpr, 0, false );
- return ret.str();
- }
- /* Write out an inline tree structure. Walks the list and possibly calls out
- * to virtual functions than handle language specific items in the tree. */
- void RubyCodeGen::INLINE_LIST( ostream &ret, GenInlineList *inlineList,
- int targState, bool inFinish )
- {
- for ( GenInlineList::Iter item = *inlineList; item.lte(); item++ ) {
- switch ( item->type ) {
- case GenInlineItem::Text:
- ret << item->data;
- break;
- case GenInlineItem::Goto:
- GOTO( ret, item->targState->id, inFinish );
- break;
- case GenInlineItem::Call:
- CALL( ret, item->targState->id, targState, inFinish );
- break;
- case GenInlineItem::Next:
- NEXT( ret, item->targState->id, inFinish );
- break;
- case GenInlineItem::Ret:
- RET( ret, inFinish );
- break;
- case GenInlineItem::PChar:
- ret << P();
- break;
- case GenInlineItem::Char:
- ret << GET_KEY();
- break;
- case GenInlineItem::Hold:
- ret << P() << " = " << P() << " - 1;";
- break;
- case GenInlineItem::Exec:
- EXEC( ret, item, targState, inFinish );
- break;
- case GenInlineItem::Curs:
- ret << "(_ps)";
- break;
- case GenInlineItem::Targs:
- ret << "(" << vCS() << ")";
- break;
- case GenInlineItem::Entry:
- ret << item->targState->id;
- break;
- case GenInlineItem::GotoExpr:
- GOTO_EXPR( ret, item, inFinish );
- break;
- case GenInlineItem::CallExpr:
- CALL_EXPR( ret, item, targState, inFinish );
- break;
- case GenInlineItem::NextExpr:
- NEXT_EXPR( ret, item, inFinish );
- break;
- case GenInlineItem::LmSwitch:
- LM_SWITCH( ret, item, targState, inFinish );
- break;
- case GenInlineItem::LmSetActId:
- SET_ACT( ret, item );
- break;
- case GenInlineItem::LmSetTokEnd:
- SET_TOKEND( ret, item );
- break;
- case GenInlineItem::LmGetTokEnd:
- GET_TOKEND( ret, item );
- break;
- case GenInlineItem::LmInitTokStart:
- INIT_TOKSTART( ret, item );
- break;
- case GenInlineItem::LmInitAct:
- INIT_ACT( ret, item );
- break;
- case GenInlineItem::LmSetTokStart:
- SET_TOKSTART( ret, item );
- break;
- case GenInlineItem::SubAction:
- SUB_ACTION( ret, item, targState, inFinish );
- break;
- case GenInlineItem::Break:
- BREAK( ret, targState );
- break;
- }
- }
- }
- void RubyCodeGen::EXEC( ostream &ret, GenInlineItem *item, int targState, int inFinish )
- {
- /* The parser gives fexec two children. The double brackets are for D
- * code. If the inline list is a single word it will get interpreted as a
- * C-style cast by the D compiler. */
- ret << " begin " << P() << " = ((";
- INLINE_LIST( ret, item->children, targState, inFinish );
- ret << "))-1; end\n";
- }
- void RubyCodeGen::LM_SWITCH( ostream &ret, GenInlineItem *item,
- int targState, int inFinish )
- {
- ret <<
- " case " << ACT() << "\n";
- for ( GenInlineList::Iter lma = *item->children; lma.lte(); lma++ ) {
- /* Write the case label, the action and the case break. */
- if ( lma->lmId < 0 )
- ret << " else\n";
- else
- ret << " when " << lma->lmId << " then\n";
- /* Write the block and close it off. */
- ret << " begin";
- INLINE_LIST( ret, lma->children, targState, inFinish );
- ret << "end\n";
- }
- ret << "end \n\t";
- }
- void RubyCodeGen::SET_ACT( ostream &ret, GenInlineItem *item )
- {
- ret << ACT() << " = " << item->lmId << ";";
- }
- void RubyCodeGen::INIT_TOKSTART( ostream &ret, GenInlineItem *item )
- {
- ret << TOKSTART() << " = " << NULL_ITEM() << ";";
- }
- void RubyCodeGen::INIT_ACT( ostream &ret, GenInlineItem *item )
- {
- ret << ACT() << " = 0\n";
- }
- void RubyCodeGen::SET_TOKSTART( ostream &ret, GenInlineItem *item )
- {
- ret << TOKSTART() << " = " << P() << "\n";
- }
- void RubyCodeGen::SET_TOKEND( ostream &ret, GenInlineItem *item )
- {
- /* The tokend action sets tokend. */
- ret << TOKEND() << " = " << P();
- if ( item->offset != 0 )
- out << "+" << item->offset;
- out << "\n";
- }
- void RubyCodeGen::GET_TOKEND( ostream &ret, GenInlineItem *item )
- {
- ret << TOKEND();
- }
- void RubyCodeGen::SUB_ACTION( ostream &ret, GenInlineItem *item,
- int targState, bool inFinish )
- {
- if ( item->children->length() > 0 ) {
- /* Write the block and close it off. */
- ret << " begin ";
- INLINE_LIST( ret, item->children, targState, inFinish );
- ret << " end\n";
- }
- }
- int RubyCodeGen::TRANS_ACTION( RedTransAp *trans )
- {
- /* If there are actions, emit them. Otherwise emit zero. */
- int act = 0;
- if ( trans->action != 0 )
- act = trans->action->location+1;
- return act;
- }
- ostream &RubyCodeGen::source_warning( const InputLoc &loc )
- {
- cerr << sourceFileName << ":" << loc.line << ":" << loc.col << ": warning: ";
- return cerr;
- }
- ostream &RubyCodeGen::source_error( const InputLoc &loc )
- {
- gblErrorCount += 1;
- assert( sourceFileName != 0 );
- cerr << sourceFileName << ":" << loc.line << ":" << loc.col << ": ";
- return cerr;
- }
- void RubyCodeGen::finishRagelDef()
- {
- if ( codeStyle == GenGoto || codeStyle == GenFGoto ||
- codeStyle == GenIpGoto || codeStyle == GenSplit )
- {
- /* For directly executable machines there is no required state
- * ordering. Choose a depth-first ordering to increase the
- * potential for fall-throughs. */
- redFsm->depthFirstOrdering();
- }
- else {
- /* The frontend will do this for us, but it may be a good idea to
- * force it if the intermediate file is edited. */
- redFsm->sortByStateId();
- }
- /* Choose default transitions and the single transition. */
- redFsm->chooseDefaultSpan();
-
- /* Maybe do flat expand, otherwise choose single. */
- if ( codeStyle == GenFlat || codeStyle == GenFFlat )
- redFsm->makeFlat();
- else
- redFsm->chooseSingle();
- /* If any errors have occured in the input file then don't write anything. */
- if ( gblErrorCount > 0 )
- return;
-
- if ( codeStyle == GenSplit )
- redFsm->partitionFsm( numSplitPartitions );
- if ( codeStyle == GenIpGoto || codeStyle == GenSplit )
- redFsm->setInTrans();
- /* Anlayze Machine will find the final action reference counts, among
- * other things. We will use these in reporting the usage
- * of fsm directives in action code. */
- analyzeMachine();
- /* Determine if we should use indicies. */
- calcIndexSize();
- }
- /* Determine if we should use indicies or not. */
- void RubyCodeGen::calcIndexSize()
- {
- int sizeWithInds = 0, sizeWithoutInds = 0;
- /* Calculate cost of using with indicies. */
- for ( RedStateList::Iter st = redFsm->stateList; st.lte(); st++ ) {
- int totalIndex = st->outSingle.length() + st->outRange.length() +
- (st->defTrans == 0 ? 0 : 1);
- sizeWithInds += arrayTypeSize(redFsm->maxIndex) * totalIndex;
- }
- sizeWithInds += arrayTypeSize(redFsm->maxState) * redFsm->transSet.length();
- if ( redFsm->anyActions() )
- sizeWithInds += arrayTypeSize(redFsm->maxActionLoc) * redFsm->transSet.length();
- /* Calculate the cost of not using indicies. */
- for ( RedStateList::Iter st = redFsm->stateList; st.lte(); st++ ) {
- int totalIndex = st->outSingle.length() + st->outRange.length() +
- (st->defTrans == 0 ? 0 : 1);
- sizeWithoutInds += arrayTypeSize(redFsm->maxState) * totalIndex;
- if ( redFsm->anyActions() )
- sizeWithoutInds += arrayTypeSize(redFsm->maxActionLoc) * totalIndex;
- }
- /* If using indicies reduces the size, use them. */
- useIndicies = sizeWithInds < sizeWithoutInds;
- }
- unsigned int RubyCodeGen::arrayTypeSize( unsigned long maxVal )
- {
- long long maxValLL = (long long) maxVal;
- HostType *arrayType = keyOps->typeSubsumes( maxValLL );
- assert( arrayType != 0 );
- return arrayType->size;
- }
- void RubyCodeGen::writeInit()
- {
- out << "begin\n";
-
- out << " " << P() << " ||= 0\n";
- if ( !noEnd )
- out << " " << PE() << " ||= " << DATA() << ".length\n";
- if ( !noCS )
- out << " " << vCS() << " = " << START() << "\n";
- /* If there are any calls, then the stack top needs initialization. */
- if ( redFsm->anyActionCalls() || redFsm->anyActionRets() )
- out << " " << TOP() << " = 0\n";
- if ( hasLongestMatch ) {
- out <<
- " " << TOKSTART() << " = " << NULL_ITEM() << "\n"
- " " << TOKEND() << " = " << NULL_ITEM() << "\n"
- " " << ACT() << " = 0\n";
- }
- out << "end\n";
- }
- void RubyCodeGen::writeExports()
- {
- if ( exportList.length() > 0 ) {
- for ( ExportList::Iter ex = exportList; ex.lte(); ex++ ) {
- STATIC_VAR( ALPH_TYPE(), DATA_PREFIX() + "ex_" + ex->name )
- << " = " << KEY(ex->key) << "\n";
- }
- out << "\n";
- }
- }
- void RubyCodeGen::writeStart()
- {
- out << START_STATE_ID();
- }
- void RubyCodeGen::writeFirstFinal()
- {
- out << FIRST_FINAL_STATE();
- }
- void RubyCodeGen::writeError()
- {
- out << ERROR_STATE();
- }
- /*
- * Local Variables:
- * mode: c++
- * indent-tabs-mode: 1
- * c-file-style: "bsd"
- * End:
- */
|