Commit 99c7740b authored by Sarah Spall's avatar Sarah Spall Committed by Vikram Narayanan
Browse files

modified parser gen to print include for string header file in the header files it produces

parent f9ed1a16
......@@ -11,6 +11,7 @@ def generate(peg):
guard = generate_guard(peg)
code = """
/* filename should be a path to a file */
extern const void * parse(const std::string & filename, bool stats = false);
......@@ -37,6 +38,8 @@ def generate(peg):
#ifndef _%s_
#define _%s_
#include <string>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment