updated replacement system

This commit is contained in:
Josh Holtrop committed 2010-05-19 16:50:36 -04:00
1 parent ecfa1730f5
commit 62fd96ad9b
3 files changed
+19 -8

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@
#include <iostream>
#include <vector>
#include I_HEADER_NAME
#include {%header_name%}
using namespace std;
@@ -52,7 +52,7 @@ bool I_CLASSNAME::parse(istream & i)
pcre * re;
pcre_extra * re_extra;
} tokens[] = {
I_TOKENLIST
{%token_list%}
};
if (sizeof(tokens)/sizeof(tokens[0]) == 0)