This server is intended for use for Academic Classwork related Git repositories only. Projects/repositories will generally be removed after 6 months following close of the semester. Inactive repositories from previous semester are now being archived when no activity for 365 days. They are renamed and marked as 'archived'. After 90 days in that state they will be removed from the system completely.

Commit ad6a7322 authored by jdev52's avatar jdev52

moved definitions to symboltableentry

parent 05d08b00
...@@ -7,20 +7,7 @@ ...@@ -7,20 +7,7 @@
#include "SymbolTableEntry.h" #include "SymbolTableEntry.h"
using namespace std; using namespace std;
#define UNDEFINED -1 // Type codes
#define FUNCTION 8
#define INT 1
#define STR 2
#define INT_OR_STR 3
#define BOOL 4
#define INT_OR_BOOL 5
#define STR_OR_BOOL 6
#define INT_OR_STR_OR_BOOL 7
#define NOT_APPLICABLE -1
#define ARITHMETIC 10
#define LOGICAL 11
#define RELATIONAL 12
class SYMBOL_TABLE class SYMBOL_TABLE
{ {
......
...@@ -4,7 +4,20 @@ ...@@ -4,7 +4,20 @@
#include <string> #include <string>
using namespace std; using namespace std;
#define UNDEFINED -1 #define UNDEFINED -1 // Type codes
#define FUNCTION 8
#define INT 1
#define STR 2
#define INT_OR_STR 3
#define BOOL 4
#define INT_OR_BOOL 5
#define STR_OR_BOOL 6
#define INT_OR_STR_OR_BOOL 7
#define NOT_APPLICABLE -1
#define ARITHMETIC 10
#define LOGICAL 11
#define RELATIONAL 12
typedef struct typedef struct
{ {
......
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