made to compile on Xenix
This commit is contained in:
parent
53bda08502
commit
ccbf4f0cf6
1 changed files with 5 additions and 1 deletions
|
@ -411,8 +411,12 @@ int aside_length = -1 ;
|
||||||
|
|
||||||
save_stack(tp) register token_p tp ; {
|
save_stack(tp) register token_p tp ; {
|
||||||
int i ;
|
int i ;
|
||||||
|
token_p tmp = &fakestack[stackheight - 1];
|
||||||
|
|
||||||
aside_length = &fakestack[stackheight-1] -tp;
|
/*aside_length = &fakestack[stackheight-1] -tp;
|
||||||
|
This did not compile on Xenix V3.2: CODE GENERATION ERROR!
|
||||||
|
*/
|
||||||
|
aside_length = tmp - tp;
|
||||||
assert(aside_length<=MAXSAVE);
|
assert(aside_length<=MAXSAVE);
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
if (aside_length!=0 && Debug>1)
|
if (aside_length!=0 && Debug>1)
|
||||||
|
|
Loading…
Reference in a new issue