Add Java 10 `var` keyword

#742 Open
Repository
birkenfeld
Branch
default

Bitbucket cannot automatically merge this request.

The commits that make up this pull request have been removed.

Bitbucket cannot automatically merge this request due to conflicts.

Review the conflicts on the Overview tab. You can then either decline the request or merge it manually on your local system using the following commands:

hg update default
hg pull -r Icyene/add-java-10-var-keyword-1511765061417 https://bitbucket.org/Icyene/pygments-main
hg merge Icyene/add-java-10-var-keyword-1511765061417
hg commit -m 'Merged in Icyene/pygments-main/Icyene/add-java-10-var-keyword-1511765061417 (pull request #742)'
Author
  1. Tudor Brinedus
Reviewers
Description

Add Java 10 var keyword

Comments (1)

  1. Tudor Brinedus author

    This implements issue #1397.

    I suppose the ideal scenario would be highlighting it only when it is used as a variable type and not as a name. This would match the "context-sensitive" part of the JEP, but I don't think this detail is important nor trivial to implement.