projects
/
sasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81d0392
)
Don't forget to check for '0'
author
Robert Pengelly
<robertapengelly@hotmail.com>
Sun, 25 May 2025 13:24:01 +0000
(14:24 +0100)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Sun, 25 May 2025 13:24:01 +0000
(14:24 +0100)
expr.c
patch
|
blob
|
history
diff --git
a/expr.c
b/expr.c
index 00d0f1550a859026b7731031fb9a29abac2c4679..2ee2971941c71995eab5ad52864622e84e9b1b72 100644
(file)
--- a/
expr.c
+++ b/
expr.c
@@
-349,7
+349,7
@@
static struct section *operand (char *start, char **pp, struct expr *expr, int e
temp = (*pp);
- while (*temp &&
(isxdigit (*temp)
)) {
+ while (*temp &&
isxdigit (*temp
)) {
temp++;
}
@@
-393,6
+393,7
@@
static struct section *operand (char *start, char **pp, struct expr *expr, int e
integer_constant (start, pp, expr, 16);
break;
+ case '0':
case '1':
case '2':
case '3':