parser.h now including parser.tab.hh (should only ever have to include parser/parser.h now); added PrimitiveTypeNode.cc with translation from primitive type to C type string

git-svn-id: svn://anubis/jtlc/trunk@18 f5bc74b8-7b62-4e90-9214-7121d538519f
This commit is contained in:
josh committed 2010-01-13 22:22:19 +00:00
1 parent d44b77d240
commit bf1baf16e6
5 files changed
+39 -2

No files matched your search

+3
View File
@@ -7,6 +7,9 @@
#define YYSTYPE refptr<Node>
/* include this AFTER defining YYSTYPE */
#include "parser/parser.tab.hh"
YYSTYPE parse(const char * fileName);
#endif
-1
View File
@@ -7,7 +7,6 @@
#include <stdint.h>
#include <string>
#include "parser.h"
#include "parser.tab.hh"
using namespace std;
static string build_string;
-1
View File
@@ -4,7 +4,6 @@
#include <stdio.h>
#include <iostream>
#include "parser.h"
#include "parser.tab.hh" /* bison-generated header with YY[SL]TYPE */
using namespace std;
#define yyerror(msg) errFunc(msg, &yylloc)