summaryrefslogtreecommitdiff
path: root/src/compiler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler.cc')
-rw-r--r--src/compiler.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler.cc b/src/compiler.cc
index 017712a9..229b4ee8 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -1200,8 +1200,10 @@ void Compiler::compile()
beginProcessing();
initKeyOps();
+ /* Declare types. */
declarePass();
+ /* Resolve type references. */
resolvePass();
makeTerminalWrappers();
@@ -1225,7 +1227,7 @@ void Compiler::compile()
/* Compile bytecode. */
compileByteCode();
- /* Make the reduced fsm. */
+ /* Make the reduced scanner. */
RedFsmBuild reduce( this, fsmGraph );
redFsm = reduce.reduceMachine();