summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-01-11 20:28:32 -0500
committerJune McEnroe <june@causal.agency>2020-01-11 20:28:32 -0500
commit5833e14598e1972f551a2788286038feee359587 (patch)
treef853ca3f84bedb2efc0ba7793d5547f8b4c2ef3f
parentBump busy timeout to 10s (diff)
downloadlitterbox-5833e14598e1972f551a2788286038feee359587.tar.gz
litterbox-5833e14598e1972f551a2788286038feee359587.zip
Fix unscoop dedup window syntax
-rw-r--r--unscoop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unscoop.c b/unscoop.c
index 7c04ca1..04e0ca7 100644
--- a/unscoop.c
+++ b/unscoop.c
@@ -286,7 +286,7 @@ static void dedupEvents(sqlite3 *db) {
 		WITH potentials (event, diff) AS (
 			SELECT event, event - first_value(event) OVER matching
 			FROM events JOIN names USING (name)
-			WINDOW matching (
+			WINDOW matching AS (
 				PARTITION BY time, type, context, nick, target, message
 				ORDER BY event
 			)
'>2020-12-30Add unary & to bitJune McEnroe Also unary + and fix precedence of unary -. 2020-12-30Support unary + in orderJune McEnroe Missed this because operator(7) just doesn't list it, oddly. 2020-12-30Add postfix $ operator to bitJune McEnroe 2020-12-29Add make lexerJune McEnroe This is kind of a mess and needs to be cleaned up against more careful reading of the make grammar. 2020-12-29Clean up C lexerJune McEnroe This ordering of rules feels much cleaner. 2020-12-29Clean up hilex code somewhatJune McEnroe 2020-12-29Match lex/yacc %% %{ %} lines as MacroJune McEnroe 2020-12-29Match top-level C definitions as IdentifierTagJune McEnroe 2020-12-29Match C type declarations as IdentifierTagJune McEnroe 2020-12-29Match function-like macro definitions as IdentifierTagJune McEnroe 2020-12-29Reconfigure C macro start conditionsJune McEnroe 2020-12-29Document HTML class namesJune McEnroe 2020-12-29Rename Tag class to IdentifierTagJune McEnroe 2020-12-29Change HTML class from hi to hilexJune McEnroe You can tell I was just copying the HTML code huh. 2020-12-29Add hilex HTML outputJune McEnroe