mirror of
https://github.com/pfusik/xasm.git
synced 2024-06-01 01:41:29 +00:00
DMD64 compilation errors reported by Vadim Akimov.
This commit is contained in:
parent
3fc9b5c0f5
commit
a2d6f9c864
4
xasm.d
4
xasm.d
|
@ -744,7 +744,7 @@ void readValue() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (;;) {
|
for (;;) {
|
||||||
int sp = valOpStack.length - 1;
|
immutable sp = valOpStack.length - 1;
|
||||||
if (sp <= 0 || valOpStack[sp].priority > valOpStack[sp - 1].priority)
|
if (sp <= 0 || valOpStack[sp].priority > valOpStack[sp - 1].priority)
|
||||||
break;
|
break;
|
||||||
int operand1 = valOpStack[sp - 1].value;
|
int operand1 = valOpStack[sp - 1].value;
|
||||||
|
@ -2840,7 +2840,7 @@ void assemblyPass() {
|
||||||
if (commandLineDefinitions.length > 0) {
|
if (commandLineDefinitions.length > 0) {
|
||||||
currentLocation = new Location("command line");
|
currentLocation = new Location("command line");
|
||||||
foreach (definition; commandLineDefinitions) {
|
foreach (definition; commandLineDefinitions) {
|
||||||
int i = indexOf(definition, '=');
|
immutable i = indexOf(definition, '=');
|
||||||
assert(i >= 0);
|
assert(i >= 0);
|
||||||
line = definition[0 .. i] ~ " equ " ~ definition[i + 1 .. $];
|
line = definition[0 .. i] ~ " equ " ~ definition[i + 1 .. $];
|
||||||
assemblyLine();
|
assemblyLine();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user