lib/rouge/lexers/java.rb in rouge-3.1.1 vs lib/rouge/lexers/java.rb in rouge-3.2.0
- old
+ new
@@ -18,10 +18,10 @@
declarations = %w(
abstract const enum extends final implements native private protected
public static strictfp super synchronized throws transient volatile
)
- types = %w(boolean byte char double float int long short void)
+ types = %w(boolean byte char double float int long short var void)
id = /[a-zA-Z_][a-zA-Z0-9_]*/
state :root do
rule /[^\S\n]+/, Text