convert main module to a C++ module

This commit is contained in:
josh committed 2018-05-08 19:59:57 -04:00
1 parent 8733911e82
commit 07fb50bb86
3 files changed
-11

No files matched your search

View File
File renamed without changes.
-2
View File
@@ -10,7 +10,6 @@ extern FILE * yyin;
static const char * input_fname;
extern "C" {
void parse(const char * filename)
{
input_fname = filename;
@@ -26,7 +25,6 @@ void parse(const char * filename)
return;
}
}
}
static char * read_file(const char * filename, size_t * length)
{
-9
View File
@@ -6,16 +6,7 @@
#define YYSTYPE Node *
#ifdef __cplusplus
extern "C" {
#endif
void parse(const char * filename);
#ifdef __cplusplus
}
#endif
void handle_parse_error(const char * str, const YYLTYPE * yylloc);
#endif