diff options
author | murphy <murphy@rubychan.de> | 2008-09-16 21:57:20 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2008-09-16 21:57:20 +0000 |
commit | e7b3056418e54db4361b053a7af030d83e15acf8 (patch) | |
tree | 51370133561259d7c6cf855d03ea6b3fbea5fff0 /lib/coderay/scanners/delphi.rb | |
parent | 4b542fa158a71cbe0b75ffb9b3a777a1b564f6d7 (diff) | |
download | coderay-e7b3056418e54db4361b053a7af030d83e15acf8.tar.gz |
Added more file extensions to Scanners
* Added file_extensions to Delphi, XML, Debug, Scheme, and NitroXHTML scanners.
* Removed obsolete extension declarations from Scanner test suites.
* Minor cleanups.
Diffstat (limited to 'lib/coderay/scanners/delphi.rb')
-rw-r--r-- | lib/coderay/scanners/delphi.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/coderay/scanners/delphi.rb b/lib/coderay/scanners/delphi.rb index 5ee07a3..0975b26 100644 --- a/lib/coderay/scanners/delphi.rb +++ b/lib/coderay/scanners/delphi.rb @@ -4,6 +4,7 @@ module Scanners class Delphi < Scanner register_for :delphi + file_extension 'pas' RESERVED_WORDS = [ 'and', 'array', 'as', 'at', 'asm', 'at', 'begin', 'case', 'class', |