projects
/
ulas
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d0490b
)
WIP: error handling
author
Lukas Krickl
<lukas@krickl.dev>
Wed, 22 Nov 2023 09:51:05 +0000
(10:51 +0100)
committer
Lukas Krickl
<lukas@krickl.dev>
Wed, 22 Nov 2023 09:51:05 +0000
(10:51 +0100)
src/ulas.c
patch
|
blob
|
history
diff --git
a/src/ulas.c
b/src/ulas.c
index 434033691b960524e996a342f7124e05186081d8..68fa81a00d7499aaf0286da87c39d511d53ec152 100644
(file)
--- a/
src/ulas.c
+++ b/
src/ulas.c
@@
-1463,6
+1463,7
@@
int ulas_asminstr(char *dst, unsigned long max, const char **line,
return towrt;
}
+ ulas_trimend('\n', start, n);
ULASERR("Invalid instruction '%s'\n", start);
return -1;
}