about summary refs log tree commit diff
path: root/Src/Zle/zle_things.sed
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle/zle_things.sed')
-rw-r--r--Src/Zle/zle_things.sed9
1 files changed, 9 insertions, 0 deletions
diff --git a/Src/Zle/zle_things.sed b/Src/Zle/zle_things.sed
new file mode 100644
index 000000000..781d23704
--- /dev/null
+++ b/Src/Zle/zle_things.sed
@@ -0,0 +1,9 @@
+/^ *T("/{
+    s/^[^"]*"/    z_/
+    s/".*$/,/
+    s/-//g
+    s/\./D/g
+    P
+    s/    z_\(.*\),/#define t_\1 (\&thingies[z_\1])/
+    P
+}