comparison Bison-Flex/BasicCompiler-StackBase/script-parser.hh @ 2:fbe42292d479

upload test
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 10 May 2011 06:43:55 +0900
parents a3ea4c73696b
children
comparison
equal deleted inserted replaced
1:a3ea4c73696b 2:fbe42292d479
46 class position; 46 class position;
47 class location; 47 class location;
48 } 48 }
49 49
50 /* First part of user declarations. */ 50 /* First part of user declarations. */
51 #line 4 "script-parser.yy" 51 #line 4 "d:\\Work\\ScriptEngine\\Sample Source\\Bison-Flex\\BasicCompiler-StackBase\\script-parser.yy"
52 52
53 #ifdef _MSC_VER 53 #ifdef _MSC_VER
54 #pragma warning(disable: 4800) 54 #pragma warning(disable: 4800)
55 #pragma warning(disable: 4267) 55 #pragma warning(disable: 4267)
56 #endif 56 #endif
58 #include <string> 58 #include <string>
59 #include "node.h" 59 #include "node.h"
60 class compiler; 60 class compiler;
61 61
62 62
63 /* Line 35 of lalr1.cc. */ 63 /* Line 303 of lalr1.cc. */
64 #line 65 "script-parser.hh" 64 #line 65 "script-parser.hh"
65 65
66 #include "location.hh" 66 #include "location.hh"
67 67
68 /* Enabling traces. */ 68 /* Enabling traces. */
110 { 110 {
111 public: 111 public:
112 /// Symbol semantic values. 112 /// Symbol semantic values.
113 #ifndef YYSTYPE 113 #ifndef YYSTYPE
114 union semantic_type 114 union semantic_type
115 #line 28 "script-parser.yy" 115 #line 28 "d:\\Work\\ScriptEngine\\Sample Source\\Bison-Flex\\BasicCompiler-StackBase\\script-parser.yy"
116 { 116 {
117 int ival; 117 int ival;
118 std::string *sval; 118 std::string *sval;
119 119
120 CArgs *args; 120 CArgs *args;
121 CNode *expr; 121 CNode *expr;
122 CAssign *assign; 122 CAssign *assign;
123 } 123 }
124 /* Line 35 of lalr1.cc. */ 124 /* Line 303 of lalr1.cc. */
125 #line 126 "script-parser.hh" 125 #line 126 "script-parser.hh"
126 ; 126 ;
127 #else 127 #else
128 typedef YYSTYPE semantic_type; 128 typedef YYSTYPE semantic_type;
129 #endif 129 #endif