mirror of
https://github.com/pfusik/xasm.git
synced 2025-03-13 10:30:10 +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 (;;) {
|
||||
int sp = valOpStack.length - 1;
|
||||
immutable sp = valOpStack.length - 1;
|
||||
if (sp <= 0 || valOpStack[sp].priority > valOpStack[sp - 1].priority)
|
||||
break;
|
||||
int operand1 = valOpStack[sp - 1].value;
|
||||
@ -2840,7 +2840,7 @@ void assemblyPass() {
|
||||
if (commandLineDefinitions.length > 0) {
|
||||
currentLocation = new Location("command line");
|
||||
foreach (definition; commandLineDefinitions) {
|
||||
int i = indexOf(definition, '=');
|
||||
immutable i = indexOf(definition, '=');
|
||||
assert(i >= 0);
|
||||
line = definition[0 .. i] ~ " equ " ~ definition[i + 1 .. $];
|
||||
assemblyLine();
|
||||
|
Loading…
x
Reference in New Issue
Block a user