Skip to content

Commit

Permalink
Merge pull request #888 from lc-soft/lc-soft-patch-1
Browse files Browse the repository at this point in the history
Add new "var" type for Java 10
  • Loading branch information
dblessing committed Apr 3, 2018
2 parents 1afeb78 + b298e57 commit 984d20e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rouge/lexers/java.rb
Expand Up @@ -20,7 +20,7 @@ class Java < RegexLexer
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_]*/

Expand Down

0 comments on commit 984d20e

Please sign in to comment.