aboutsummaryrefslogtreecommitdiff
path: root/src/utils/assembler.ts
diff options
context:
space:
mode:
authorUri Shaked2020-04-27 21:59:13 +0300
committerUri Shaked2020-04-27 21:59:13 +0300
commitc792b8c5938bc6331dc4869c6c51dc01cde75641 (patch)
treed70b95699ef73cdefd0d21417e14bb85c51dff27 /src/utils/assembler.ts
parentchore(deps): prettier 2.0 (diff)
downloadavr8js-c792b8c5938bc6331dc4869c6c51dc01cde75641.tar.gz
avr8js-c792b8c5938bc6331dc4869c6c51dc01cde75641.tar.bz2
avr8js-c792b8c5938bc6331dc4869c6c51dc01cde75641.zip
style: reformat code with prettier 2.x
prettier rules have changed since we upgraded to 2.x
Diffstat (limited to 'src/utils/assembler.ts')
-rw-r--r--src/utils/assembler.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/assembler.ts b/src/utils/assembler.ts
index 22ac948..17b20b4 100644
--- a/src/utils/assembler.ts
+++ b/src/utils/assembler.ts
@@ -763,7 +763,7 @@ const OPTABLE: { [key: string]: opcodeHandler } = {
throw 'Bad param, not Z';
}
return zeroPad(r);
- }
+ },
};
function passOne(inputdata: string) {
@@ -880,7 +880,7 @@ function passOne(inputdata: string) {
return {
labels: lableTable,
errors: errorTable,
- lines: lineTable
+ lines: lineTable,
};
}
@@ -950,7 +950,7 @@ export function assemble(input: string) {
return {
bytes: new Uint8Array(0),
errors: mid.errors,
- lines: []
+ lines: [],
};
}
return passTwo(mid.lines, mid.labels);