aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-08-09 21:56:27 +0200
committerMattias Andrée <maandree@kth.se>2021-08-09 21:56:27 +0200
commit546d1c2149e9c8a050ccf8c10718e69bce09ec6c (patch)
treed74a1634b8265b1a9671f9e4b5796faae1e4a9aa
parentStandardise @(( )), add -R option, and fix critical bug (diff)
downloadgpp-2.1.1.tar.gz
gpp-2.1.1.tar.bz2
gpp-2.1.1.tar.xz
Fix typo2.1.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--gpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpp.c b/gpp.c
index c79c822..200a898 100644
--- a/gpp.c
+++ b/gpp.c
@@ -340,7 +340,7 @@ after_unshebang:
append(&out_data, &out_len, &out_size, "%c\"'", c);
continue;
}
- } else if (c == '(' || c == '}') {
+ } else if (c == '(' || c == '{') {
brackets += 1;
} else if (c == '\\') {
esc = 1;