Skip to content

Commit 81d3fa8

Browse files
committed
.
1 parent d2b6d2a commit 81d3fa8

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

flex2.idea

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ create new file | newFactory={(path)=>{}}
2828

2929
check version in documentation tab (move code)
3030
logo / have default as logo?
31+
describle what label is used for in asm

modules/formats/asm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function asmToBin(buffer) {
1717
// add starting label to ensure all sections are accounted for
1818
const sections = (('__flex2__internal: \n' + asm)
1919
.replace(/^\S/gm, (d) => `;;${d}`)
20-
.replace(/\n/gm, '') + ';')
20+
.replace(/\s/gm, '') + ';')
2121
.match(/;.*?:.*?;/g)
2222
.map((d) => d.replace(/;/g, '').split(':'));
2323

0 commit comments

Comments
 (0)