summaryrefslogtreecommitdiff
path: root/src/pdabuild.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-05-10 15:17:12 -0400
committerAdrian Thurston <thurston@complang.org>2015-05-10 15:17:12 -0400
commit041084f89d3b05c4e9817002fcbe363839336538 (patch)
tree11827b1aa63701884474bf397fa2f21267483da3 /src/pdabuild.cc
parent26ba9ef6c965fed03f081054bdb11d212e55f311 (diff)
downloadcolm-041084f89d3b05c4e9817002fcbe363839336538.tar.gz
some naming cleanup
Diffstat (limited to 'src/pdabuild.cc')
-rw-r--r--src/pdabuild.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pdabuild.cc b/src/pdabuild.cc
index ba134fb3..fae9135d 100644
--- a/src/pdabuild.cc
+++ b/src/pdabuild.cc
@@ -1683,7 +1683,7 @@ void Compiler::makeRuntimeData()
runtimeData->globalId = globalSel->id;
runtimeData->argvElId = argvElSel->id;
- runtimeData->fsmExecute = &internalFsmExecute;
+ runtimeData->fsm_execute = &internalFsmExecute;
runtimeData->sendNamedLangEl = &internalSendNamedLangEl;
runtimeData->initBindings = &internalInitBindings;
runtimeData->popBinding = &internalPopBinding;
@@ -1894,7 +1894,7 @@ void Compiler::fillInPatterns( Program *prg )
}
-int Compiler::findIndexOff( PdaTables *pdaTables, PdaGraph *pdaGraph, PdaState *state, int &curLen )
+int Compiler::findIndexOff( struct pda_tables *pdaTables, PdaGraph *pdaGraph, PdaState *state, int &curLen )
{
for ( int start = 0; start < curLen; ) {
int offset = start;
@@ -1960,10 +1960,10 @@ PdaGraph *Compiler::makePdaGraph( LangElSet &parserEls )
return pdaGraph;
}
-PdaTables *Compiler::makePdaTables( PdaGraph *pdaGraph )
+struct pda_tables *Compiler::makePdaTables( PdaGraph *pdaGraph )
{
int count, pos;
- PdaTables *pdaTables = new PdaTables;
+ struct pda_tables *pdaTables = new struct pda_tables;
/*
* Counting max indices.