From e64d59c793ff4029a7bcf972dda96308e49eb0f3 Mon Sep 17 00:00:00 2001 From: Max Regan Date: Sat, 20 May 2017 18:58:59 -0700 Subject: [PATCH] parser: treat comma as a delimiter --- src/gbasm/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gbasm/parser.c b/src/gbasm/parser.c index d196bec..7e8e28c 100644 --- a/src/gbasm/parser.c +++ b/src/gbasm/parser.c @@ -12,7 +12,7 @@ #define GBASM_MAX_TOKENS (GBASM_MAX_OPERANDS + 1) /* One for opcode */ #define GBASM_LINE_DELIMS "\n" #define GBASM_COMMENT_DELIMS ";" -#define GBASM_WHITESPACE_DELIMS " \t" +#define GBASM_WHITESPACE_DELIMS " \t," /* Returns the number of tokens in the line */ static int gbasm_tokenize_line(char *line,