mirror of
https://github.com/badvision/lawless-legends.git
synced 2025-01-18 04:33:00 +00:00
New portable VM and fix parse typo
This commit is contained in:
parent
2ec914aec5
commit
ebe9c8ea14
@ -1478,7 +1478,7 @@ int parse_mods(void)
|
||||
emit_moddep(0, 0);
|
||||
return (0);
|
||||
}
|
||||
iint parse_lambda(void)
|
||||
int parse_lambda(void)
|
||||
{
|
||||
int func_tag;
|
||||
int cfnparms;
|
||||
@ -1552,7 +1552,7 @@ iint parse_lambda(void)
|
||||
idlocal_restore();
|
||||
return (func_tag);
|
||||
}
|
||||
nt parse_defs(void)
|
||||
int parse_defs(void)
|
||||
{
|
||||
char c, *idstr;
|
||||
int idlen, func_tag, cfnparms, cfnvals, type = GLOBAL_TYPE, pretype;
|
||||
|
@ -1,12 +1,3 @@
|
||||
/*
|
||||
* Copyright (C) 2015 The 8-Bit Bunch. Licensed under the Apache License, Version 1.1
|
||||
* (the "License"); you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at <http://www.apache.org/licenses/LICENSE-1.1>.
|
||||
* Unless required by applicable law or agreed to in writing, software distributed under
|
||||
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
||||
* ANY KIND, either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
@ -785,7 +776,9 @@ void interp(code *ip)
|
||||
fp += PLA;
|
||||
case 0x5C: // RET : IP = TOFP
|
||||
return;
|
||||
case 0x5E: // ???
|
||||
case 0x5E: // CFFB : TOS = CONSTANTBYTE(IP) | 0xFF00
|
||||
PUSH(BYTE_PTR(ip) | 0xFF00);
|
||||
ip++;
|
||||
break;
|
||||
/*
|
||||
* 0x60-0x6F
|
||||
|
Loading…
x
Reference in New Issue
Block a user