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 6935043..53ea619 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