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') 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 input type='submit' value='switch'/> dontfiles
summary refs log tree commit diff
path: root/etc (unfollow)
Commit message (Expand)Author
2024-09-24Add photos from September 12June McEnroe
2024-09-24Add photos from September 7June McEnroe
2024-09-24Allow not having descriptionsJune McEnroe
2024-09-23Automatically select the last used lens for a bodyJune McEnroe
2024-09-19Add photos from September 5June McEnroe
2024-09-15Add some more film stocks to the listJune McEnroe
2024-09-13Add photos from September 2June McEnroe
2024-09-13Add Fomapan 200 to films listJune McEnroe
2024-09-10Add August 29 picnic photosJune McEnroe
2024-09-08Apply some bold to trips renderingJune McEnroe
2024-09-08Render trips hopefully more efficientlyJune McEnroe
2024-09-08Allow removing bodies and lensesJune McEnroe
2024-09-08Limit body width so it looks less silly on desktopJune McEnroe
2024-09-07Handle no film being loadedJune McEnroe
2024-09-07Fancy up the text a littleJune McEnroe