diff --git a/src/global.c b/src/global.c index 56bcb14..4f91dff 100644 --- a/src/global.c +++ b/src/global.c @@ -99,7 +99,6 @@ const char global_byte_flags[256] = { // variables -char GotByte; // Last byte read (processed) struct report *report = NULL; struct config config; struct pass pass; diff --git a/src/global.h b/src/global.h index ceac4f3..c483e92 100644 --- a/src/global.h +++ b/src/global.h @@ -40,9 +40,6 @@ extern const char global_byte_flags[]; #define BYTE_FOLLOWS_ANON(b) (global_byte_flags[(unsigned char) b] & (1u << 3)) // preceding '-' are backward label // bits 2, 1 and 0 are currently unused -// TODO - put in runtime struct: -extern char GotByte; // Last byte read (processed) - enum dialect { V0_85__OLDEST_SUPPORTED, // v0.85 looks like the oldest version it makes sense to actually support V0_86__DEPRECATE_REALPC, // v0.86 made !pseudopc/!realpc give a warning to use !pseudopc{} instead, and !to wants a file format diff --git a/src/input.c b/src/input.c index 49ba59c..008db22 100644 --- a/src/input.c +++ b/src/input.c @@ -41,6 +41,7 @@ static struct input outermost = { // variables struct input *input_now = &outermost; // current input structure +char GotByte; // last byte read (processed) // functions diff --git a/src/input.h b/src/input.h index 273b398..c5901e6 100644 --- a/src/input.h +++ b/src/input.h @@ -64,6 +64,9 @@ extern const char FILE_READBINARY[]; // Variables extern struct input *input_now; // current input structure +// TODO - put in input struct? +extern char GotByte; // last byte read (processed) + // Prototypes diff --git a/src/version.h b/src/version.h index 2fdaafc..5285e97 100644 --- a/src/version.h +++ b/src/version.h @@ -9,7 +9,7 @@ #define RELEASE "0.97" // update before release FIXME #define CODENAME "Zem" // update before release -#define CHANGE_DATE "16 Mar" // update before release FIXME +#define CHANGE_DATE "18 Jun" // update before release FIXME #define CHANGE_YEAR "2024" // update before release //#define HOME_PAGE "http://home.pages.de/~mac_bacon/smorbrod/acme/" #define HOME_PAGE "http://sourceforge.net/p/acme-crossass/" // FIXME