aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-06-25 19:09:37 +0200
committerOmar Polo <op@omarpolo.com>2021-06-25 19:09:37 +0200
commiteff23f5de3802cc49140b4c0883ac8c7d5abb3eb (patch)
tree62dcc0c62d2f9642568091ddb82842fcf24757d6
parentf785c305087aa1548592a414c8683234f985d601 (diff)
downloadtelescope-eff23f5de3802cc49140b4c0883ac8c7d5abb3eb.tar.gz
telescope-eff23f5de3802cc49140b4c0883ac8c7d5abb3eb.tar.bz2
typo
prefix "→ " " " ended up using both as prefix for the line and the continuations the first string given, ignoring the second argument. Found and reported by tgl, thanks!!
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 794615c..7b370f2 100644
--- a/parse.y
+++ b/parse.y
@@ -105,7 +105,7 @@ styleopts : /* empty */
;
styleopt : TPRFX TSTRING { setprfx($2, $2); }
- | TPRFX TSTRING TSTRING { setprfx($2, $2); }
+ | TPRFX TSTRING TSTRING { setprfx($2, $3); }
| TBG { color_type = TBG; } colorspec
| TFG { color_type = TFG; } colorspec
| TATTR attr