summaryrefslogtreecommitdiff
path: root/ragel/cdcodegen.h
diff options
context:
space:
mode:
Diffstat (limited to 'ragel/cdcodegen.h')
-rw-r--r--ragel/cdcodegen.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ragel/cdcodegen.h b/ragel/cdcodegen.h
index 96e1d7e9..0713d07f 100644
--- a/ragel/cdcodegen.h
+++ b/ragel/cdcodegen.h
@@ -81,6 +81,7 @@ struct TableArray
}
ln += 1;
first = false;
+ count += 1;
}
void SVAL( long long value )
@@ -160,6 +161,7 @@ struct TableArray
bool first;
long ln;
bool str;
+ long long count;
};
/*
@@ -177,6 +179,8 @@ public:
virtual void writeFirstFinal();
virtual void writeError();
+ virtual void statsSummary();
+
protected:
friend TableArray;
@@ -291,6 +295,7 @@ protected:
bool testEofUsed;
bool againLabelUsed;
bool useIndicies;
+ long long tableData;
void genLineDirective( ostream &out );