aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-18 12:22:23 +0200
committerMattias Andrée <maandree@kth.se>2021-04-18 12:22:23 +0200
commit9b9d78a32f3cb57e27ba23d9b3acadbc6b4bcb29 (patch)
tree7aaafdaa5619f187a07004d7a5f36d324c62d570
parentUpdate todo (diff)
downloadlibparser-9b9d78a32f3cb57e27ba23d9b3acadbc6b4bcb29.tar.gz
libparser-9b9d78a32f3cb57e27ba23d9b3acadbc6b4bcb29.tar.bz2
libparser-9b9d78a32f3cb57e27ba23d9b3acadbc6b4bcb29.tar.xz
Remove curly brackets
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--libparser-generate.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libparser-generate.c b/libparser-generate.c
index 4ad1621..72cd294 100644
--- a/libparser-generate.c
+++ b/libparser-generate.c
@@ -316,11 +316,10 @@ tokenise(const char *data)
break;
case SPACE:
- if (isspace(data[i])) {
+ if (isspace(data[i]))
goto add_char;
- } else {
+ else
goto add_token_and_do_again;
- }
break;
default: