X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=direct.c;h=67a6ffdfcf014fa7111a1afd4e7330ce1046f15b;hp=7673d29c18eb0089d848148b427b0ef5fd1992f0;hb=58902b3fadb54775564b6c66684c3dcdb69eda83;hpb=75969398d9b8a9f82ea76fc4e4cbfb97b11160a4 diff --git a/direct.c b/direct.c index 7673d29..67a6ffd 100644 --- a/direct.c +++ b/direct.c @@ -85,6 +85,7 @@ int (*dirtab[])() = { d_cstruct, // 53 .cstruct d_jpad, // 54 .jpad (deprecated) d_nojpad, // 55 .nojpad (deprecated) + d_gpumain, // 56 .gpumain (deprecated) }; @@ -118,15 +119,15 @@ int d_org(void) // int d_print(void) { - char prntstr[LNSIZ]; // String for PRINT directive - char format[LNSIZ]; // Format for PRINT directive - int formatting = 0; // Formatting on/off - int wordlong = 0; // WORD = 0, LONG = 1 - int outtype = 0; // 0:hex, 1:decimal, 2:unsigned - - VALUE eval; // Expression value - WORD eattr; // Expression attributes - SYM * esym; // External symbol involved in expr. + char prntstr[LNSIZ]; // String for PRINT directive + char format[LNSIZ]; // Format for PRINT directive + int formatting = 0; // Formatting on/off + int wordlong = 0; // WORD = 0, LONG = 1 + int outtype = 0; // 0:hex, 1:decimal, 2:unsigned + + VALUE eval; // Expression value + WORD eattr; // Expression attributes + SYM * esym; // External symbol involved in expr. TOKEN r_expr[EXPRSIZE]; while (*tok != EOL) @@ -201,7 +202,7 @@ int d_print(void) } printf("\n"); - println("\n"); +// println("\n"); return 0; @@ -1576,3 +1577,9 @@ int d_nojpad(void) return OK; } + +int d_gpumain(void) +{ + return error("What the hell? Do you think we adhere to the Goof standard?"); +} +