Allow literal $'s to be used in lambda expressions.
authorMatthijs Kooijman <matthijs@stdin.nl>
Wed, 4 Nov 2009 14:05:26 +0000 (15:05 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Wed, 4 Nov 2009 14:05:26 +0000 (15:05 +0100)
pret-lam.lua

index 6935043297ee5077a9e77495187b4ad0623e7662..53ea6191fdb12b1d111f9fb04405c3f58298f7ce 100644 (file)
@@ -25,6 +25,7 @@ local symbols = {
     ['*'] = {repr = '\\ast'},
     ['~'] = {repr = '\\HDLine[width=.20 * \\the\\textwidth]'},
     ['|'] = {repr = '\\char' .. utf.byte('|')},
+    ['$'] = {repr = '\\char' .. utf.byte('$')},
 }
 
 -- Keywords that should be bold