mirror of
https://github.com/uffejakobsen/acme.git
synced 2024-11-22 18:32:09 +00:00
fixed bug where "--dialect future" with file refs in macros could cause crashes
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@379 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
parent
47b1517777
commit
ad6e86db12
@ -844,6 +844,7 @@ void inputchange_new_file(struct inputchange_buf *icb, FILE *fd, const char *ete
|
||||
{
|
||||
// TODO: in future, really buffer old data here! (instead of storing new data and changing pointer)
|
||||
// setup new input
|
||||
icb->new_input = *input_now; // copy current input structure into new
|
||||
icb->new_input.plat_pathref_filename = eternal_plat_filename;
|
||||
icb->new_input.location.plat_filename = eternal_plat_filename;
|
||||
icb->new_input.location.line_number = 1;
|
||||
|
@ -243,6 +243,7 @@ void macro_parse_call(void) // Now GotByte = first char of macro name
|
||||
local_gotbyte = GotByte; // CAUTION - ugly kluge
|
||||
|
||||
// set up new input
|
||||
new_input = *input_now; // copy current input structure into new
|
||||
new_input.location = actual_macro->definition;
|
||||
new_input.source = INPUTSRC_RAM;
|
||||
new_input.state = INPUTSTATE_NORMAL; // FIXME - fix others!
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
#define RELEASE "0.97" // update before release FIXME
|
||||
#define CODENAME "Zem" // update before release
|
||||
#define CHANGE_DATE "16 Jul" // update before release FIXME
|
||||
#define CHANGE_DATE "17 Jul" // 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
|
||||
|
Loading…
Reference in New Issue
Block a user