+#include <setjmp.h>
#include "lists.h"
/* definitions of internal variables */
#define INT_VAR_LAST_EXIT "LAST_EXIT_CODE"
#define INT_VAR_PIPE_RES "LAST_OUTPUT"
+/* umpf.c */
+jmp_buf env;
+
/* cond.h */
int yylex (void);
void yyerror (char const *);
struct node car;
char* name;
int varcode;
- int modified;
enum var_type type;
};
+struct vartab {
+ char* value;
+ int modif;
+};
+
struct list input_code;
struct list* var_hash;
int current_varcode;
int max_varcode;
int temp_varcode_start;
-char** var_tab;
+struct vartab* var_tab;
char** const_tab;
int cur_const_n;
int cur_const_s;
char* default_mailbox;
int chars_written;
int curr_email_len;
+char* fromline;
struct list* current_headers;
struct email* current_body;