summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-02-10 13:07:04 -0500
committerJune McEnroe <june@causal.agency>2019-02-10 13:07:04 -0500
commitc9576c2968564f8c63b0613a6533cbf2a15e8c1d (patch)
tree35f3df4ee71e95a4cfc00006ceae3d7cd7e169c8 /bin
parentAdd hup (diff)
downloadsrc-c9576c2968564f8c63b0613a6533cbf2a15e8c1d.tar.gz
src-c9576c2968564f8c63b0613a6533cbf2a15e8c1d.zip
Add back missing static keyword
Ooops.
Diffstat (limited to '')
-rw-r--r--bin/hi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hi.c b/bin/hi.c
index 383ad771..de71f726 100644
--- a/bin/hi.c
+++ b/bin/hi.c
@@ -66,7 +66,7 @@ struct Syntax {
 // C syntax {{{
 static const struct Syntax CSyntax[] = {
 	{ Keyword, .subexp = 2, .pattern = WB
-		"(" "auto|extern|register|(_T|t)hread_local|typedef"
+		"(" "auto|extern|register|static|(_T|t)hread_local|typedef"
 		"|" "_Atomic|const|restrict|volatile"
 		"|" "inline|(_N|n)oreturn"
 		"|" "(_A|a)lignas"
36c1d5468de0752e8d59264358939a0713&follow=1'>Add 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