@ -418,7 +418,7 @@ int parse_macro_expression(const char *s, struct macro *macro)
#define ADD_ENTRY(t, d) do { \
if (macro->sz >= ARRAY_SIZE(macro->entries)) { \
err("maxium macro size (%d) exceeded", ARRAY_SIZE(macro->entries)); \
err("maximum macro size (%d) exceeded", ARRAY_SIZE(macro->entries)); \
return 1; \
} \
macro->entries[macro->sz].type = t; \
@ -107,7 +107,7 @@ char *read_input(int argc, char *argv[], size_t *psz)
sz += snprintf(buf+sz, sizeof(buf)-sz, "%s%s", argv[i], i == argc-1 ? "" : " ");
if (sz >= sizeof(buf))
die("maxiumum input length exceeded");
die("maximum input length exceeded");
}
} else {
while (1) {
@ -118,7 +118,7 @@ char *read_input(int argc, char *argv[], size_t *psz)
sz += n;
if (sizeof(buf) == sz)
@ -11,7 +11,7 @@ int macro_parse(char *s, struct macro *macro)
return -1; \