lib/rouge/lexers/objective_c/common.rb in rouge-3.15.0 vs lib/rouge/lexers/objective_c/common.rb in rouge-3.16.0

- old
+ new

@@ -8,11 +8,11 @@ def at_keywords @at_keywords ||= %w( selector private protected public encode synchronized try throw catch finally end property synthesize dynamic optional - interface implementation import + interface implementation import autoreleasepool ) end def at_builtins @at_builtins ||= %w(true false YES NO) @@ -42,10 +42,10 @@ if base.at_keywords.include? m[1] token base::Keyword elsif base.at_builtins.include? m[1] token base::Name::Builtin else - token Error + token base::Error end end rule %r/[?]/, base::Punctuation, :ternary rule %r/\[/, base::Punctuation, :message