moved "GotByte" var to input.{ch}

git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@374 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
marcobaye 2024-06-24 09:45:46 +00:00
parent 5af37ed13f
commit 0e20eeafd5
5 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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

View File

@ -41,6 +41,7 @@ static struct input outermost = {
// variables
struct input *input_now = &outermost; // current input structure
char GotByte; // last byte read (processed)
// functions

View File

@ -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

View File

@ -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