diff options
author | Adrian Thurston <thurston@colm.net> | 2019-12-29 21:48:58 +0200 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2019-12-29 21:48:58 +0200 |
commit | 87d85653af481491fb553158403871ca2c11c7e2 (patch) | |
tree | 7620e4045a842553436afbd17b713d8ba9b3bcf4 | |
parent | 6281f1c969125e9c0c6b1d156c9bf8cfbe9afb94 (diff) | |
download | colm-87d85653af481491fb553158403871ca2c11c7e2.tar.gz |
some whitespace fixes: spaces to tabs
-rw-r--r-- | colm/declare.cc | 8 | ||||
-rw-r--r-- | ragel/fsmap.cc | 4 | ||||
-rw-r--r-- | ragel/fsmstate.cc | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/colm/declare.cc b/colm/declare.cc index 884c446a..b96092e2 100644 --- a/colm/declare.cc +++ b/colm/declare.cc @@ -253,8 +253,8 @@ void Compiler::declareReVars() LangEl *declareLangEl( Compiler *pd, Namespace *nspace, const String &data, LangEl::Type type ) { - /* If the id is already in the dict, it will be placed in last found. If - * it is not there then it will be inserted and last found will be set to it. */ + /* If the id is already in the dict, it will be placed in last found. If + * it is not there then it will be inserted and last found will be set to it. */ TypeMapEl *inDict = nspace->typeMap.find( data ); if ( inDict != 0 ) error() << "language element '" << data << "' already defined as something else" << endp; @@ -301,8 +301,8 @@ LangEl *addLangEl( Compiler *pd, Namespace *inNspace, void declareTypeAlias( Compiler *pd, Namespace *nspace, const String &data, TypeRef *typeRef ) { - /* If the id is already in the dict, it will be placed in last found. If - * it is not there then it will be inserted and last found will be set to it. */ + /* If the id is already in the dict, it will be placed in last found. If + * it is not there then it will be inserted and last found will be set to it. */ TypeMapEl *inDict = nspace->typeMap.find( data ); if ( inDict != 0 ) error() << "alias '" << data << "' already defined as something else" << endp; diff --git a/ragel/fsmap.cc b/ragel/fsmap.cc index a2780c21..e38680f3 100644 --- a/ragel/fsmap.cc +++ b/ragel/fsmap.cc @@ -947,7 +947,7 @@ int FsmAp::comparePrior( const PriorTable &priorTable1, const PriorTable &priorT int FsmAp::compareCondListBitElim( const CondList &condList1, const CondList &condList2 ) { - typedef ValPairIter< PiList<CondAp> > ValPairIterPiListCondAp; + typedef ValPairIter< PiList<CondAp> > ValPairIterPiListCondAp; ValPairIterPiListCondAp outPair( condList1, condList2 ); for ( ; !outPair.end(); outPair++ ) { switch ( outPair.userState ) { @@ -992,7 +992,7 @@ int FsmAp::compareTransData( TransAp *trans1, TransAp *trans2 ) return compareRes; } else { - typedef ValPairIter< PiList<CondAp> > ValPairIterPiListCondAp; + typedef ValPairIter< PiList<CondAp> > ValPairIterPiListCondAp; ValPairIterPiListCondAp outPair( trans1->tcap()->condList, trans2->tcap()->condList ); for ( ; !outPair.end(); outPair++ ) { diff --git a/ragel/fsmstate.cc b/ragel/fsmstate.cc index 6c633123..03a4df34 100644 --- a/ragel/fsmstate.cc +++ b/ragel/fsmstate.cc @@ -331,7 +331,7 @@ int InitPartitionCompare::compare( const StateAp *state1, const StateAp *state2 return compareRes; /* Use a pair iterator to test the transition pairs. */ - typedef RangePairIter< PiList<TransAp> > RangePairIterPiListTransAp; + typedef RangePairIter< PiList<TransAp> > RangePairIterPiListTransAp; RangePairIterPiListTransAp outPair( ctx, state1->outList, state2->outList ); for ( ; !outPair.end(); outPair++ ) { @@ -371,7 +371,7 @@ int PartitionCompare::compare( const StateAp *state1, const StateAp *state2 ) int compareRes; /* Use a pair iterator to get the transition pairs. */ - typedef RangePairIter< PiList<TransAp> > RangePairIterPiListTransAp; + typedef RangePairIter< PiList<TransAp> > RangePairIterPiListTransAp; RangePairIterPiListTransAp outPair( ctx, state1->outList, state2->outList ); for ( ; !outPair.end(); outPair++ ) { switch ( outPair.userState ) { @@ -466,7 +466,7 @@ int FsmAp::comparePart( TransAp *trans1, TransAp *trans2 ) } else { /* Use a pair iterator to get the transition pairs. */ - typedef ValPairIter< PiList<CondAp> > ValPairIterPiListCondAp; + typedef ValPairIter< PiList<CondAp> > ValPairIterPiListCondAp; ValPairIterPiListCondAp outPair( trans1->tcap()->condList, trans2->tcap()->condList ); for ( ; !outPair.end(); outPair++ ) { |