From 6de6cee0ac03a19cfc06c3ca1a0471ae710c38f2 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 30 Dec 2020 19:31:29 -0500 Subject: Support unary + in order Missed this because operator(7) just doesn't list it, oddly. --- bin/order.y | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/order.y') diff --git a/bin/order.y b/bin/order.y index 95f1036e..b4b40a34 100644 --- a/bin/order.y +++ b/bin/order.y @@ -82,6 +82,7 @@ expr: | Dec expr { $$ = fmt("(--%s)", $2); } | expr Inc { $$ = fmt("(%s++)", $1); } | expr Dec { $$ = fmt("(%s--)", $1); } + | '+' expr %prec '!' { $$ = fmt("(+%s)", $2); } | '-' expr %prec '!' { $$ = fmt("(-%s)", $2); } | '*' expr %prec '!' { $$ = fmt("(*%s)", $2); } | '&' expr %prec '!' { $$ = fmt("(&%s)", $2); } -- cgit 1.4.1 tgroup> IRC logger
summary refs log tree commit diff
path: root/scoop.1 (unfollow)
Commit message (Expand)Author
2020-01-16Add scoop flag for local timeJune McEnroe
2020-01-14Remove note about usernames for pounceJune McEnroe
2020-01-14Reference IRCv3.1 SASL specJune McEnroe
2020-01-14Ensure ansi resets formatting and null-terminatesJune McEnroe
2020-01-14Implement IRC formatting to ANSI translationJune McEnroe
2020-01-14Add -b flag for live backupJune McEnroe
2020-01-14Add columnsize = 0 option to FTS indexJune McEnroe
2020-01-12Add option for client cert and SASL EXTERNALJune McEnroe
2020-01-12Add Linux.mkJune McEnroe
2020-01-11Fix unscoop dedup window syntaxJune McEnroe
2020-01-11Bump busy timeout to 10sJune McEnroe