Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismaltby committed Apr 10, 2024
1 parent 7f897bd commit c5ccb59
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/lib/compiler/scriptBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4741,7 +4741,6 @@ extern void __mute_mask_${symbol};
}
};


engineFieldSetToScriptValue = (key: string, value: ScriptValue) => {
const { engineFields } = this.options;
const engineField = engineFields[key];
Expand Down Expand Up @@ -4769,7 +4768,11 @@ extern void __mute_mask_${symbol};
}
} else {
// Was RPN instructions
const engineFieldValueRef = this._declareLocal("engine_field_val", 1, true);
const engineFieldValueRef = this._declareLocal(
"engine_field_val",
1,
true
);
const localsLookup = this._performFetchOperations(fetchOps);
this._addComment(`-- Calculate value`);
const rpn = this._rpn();
Expand All @@ -4779,15 +4782,13 @@ extern void __mute_mask_${symbol};
this._setMemInt16ToVariable(key, engineFieldValueRef);
} else {
this._setMemInt8ToVariable(key, engineFieldValueRef);
}
}
}
this._addNL();
}
};

engineFieldSetToDefault = (
key: string,
) => {
engineFieldSetToDefault = (key: string) => {
const { engineFields } = this.options;
const engineField = engineFields[key];
if (engineField !== undefined) {
Expand Down

0 comments on commit c5ccb59

Please sign in to comment.