summaryrefslogtreecommitdiff
path: root/lib/coderay/token_classes.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2007-01-01 16:26:17 +0000
committermurphy <murphy@rubychan.de>2007-01-01 16:26:17 +0000
commitda09c7c6bb1267996db7751e775d08742256f3f2 (patch)
treedd5029385fb87f04cd242857f0c833d0db6cca6a /lib/coderay/token_classes.rb
parent74c9a0d2b32e45c0692b4cdad4eddcab1e6a74e3 (diff)
downloadcoderay-da09c7c6bb1267996db7751e775d08742256f3f2.tar.gz
New Scanner: Scheme (thanks closure!)
Test and example added. Token changed: operator_fat instead of operator_name (for use with LISP-like parentheses). Added file_extension for Scanners. Improved CodeRay::Suite: - uses scanners file extension now - example parameter is now named "only" - only param overwrite MAX_CODE_SIZE_TO_HIGHLIGHT
Diffstat (limited to 'lib/coderay/token_classes.rb')
-rwxr-xr-xlib/coderay/token_classes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/token_classes.rb b/lib/coderay/token_classes.rb
index b19e512..d0de855 100755
--- a/lib/coderay/token_classes.rb
+++ b/lib/coderay/token_classes.rb
@@ -39,7 +39,7 @@ module CodeRay
:local_variable => 'lv',
:modifier => 'mod',
:oct => 'oc',
- :operator_name => 'on',
+ :operator_fat => 'of',
:pre_constant => 'pc',
:pre_type => 'pt',
:predefined => 'pd',