#include <stdlib.h> //exit
#include <unistd.h> //getopt
/* Internal */
-#include <apc/parser.tab.h> //bison
+#include "parser.tab.h" //bison
const char* cargs['Z'] = {0};
#include <stdlib.h> //exit
#include <unistd.h> //getopt
/* Internal */
-#include <apc/parser.tab.h> //bison
-#include <apc/ir.h> //ir
+#include "parser.tab.h" //bison
+#include "ir.h" //ir
/* Import apc.c but redefine its primary symbols for jumping */
#define main apc_main
#define yyparse testapc_yyparse
-#include <bin/tools/apc.c>
+#include "apc.c"
#undef yyparse
#undef main
tok_string = $(T); \
tok_pattern[LOFFS] = C; \
break
- { TOK_CASE(STR,'s');
- TOK_CASE(NAME,'s');
+ { TOK_CASE(NAME,'s');
TOK_CASE(REF,'x');
- TOK_CASE(FPTR,'x');
TOK_CASE(NUM,'i');
TOK_CASE(SS,'i');
- TOK_CASE(SSD,'i');
TOK_CASE(CLOPEN,'i');
TOK_CASE(CLCLOSE,'i');
default:
done:
printf(";\n" GREEN "Done" CLRC ".\n");
return 0;
+#if 0
error:
printf(";\n" RED "FAILED" CLRC ".\n");
return -1;
+#endif
}