From a6f93eb4304a062af43083a75d525acc1af9883d Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 19 Oct 2009 16:52:59 +0000 Subject: New Scanner: *C++* (#76)! There's a problem with the ternary operator (?:) and labels which needs to be fixed in C, C++ and PHP scanners. I'll get to that soon. --- lib/coderay/scanners/_map.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/coderay/scanners/_map.rb') diff --git a/lib/coderay/scanners/_map.rb b/lib/coderay/scanners/_map.rb index 9f08d7d..01078c1 100644 --- a/lib/coderay/scanners/_map.rb +++ b/lib/coderay/scanners/_map.rb @@ -2,7 +2,9 @@ module CodeRay module Scanners map \ - :cpp => :c, + :h => :c, + :cplusplus => :cpp, + :'c++' => :cpp, :ecma => :java_script, :ecmascript => :java_script, :ecma_script => :java_script, -- cgit v1.2.1