rstudio/rstudio — pull request #86 by kevinushey (2014-01-13 19:54:45+00:00)
Title: Highlight integer literals using exp. notation

We extend the existing rules for identifying a numeric in a simply way -- allow a `L` character following a 'numeric' value. Hence, values like `1E5L`, `0.1E5L`, `1.5E5L` will now be highlighted.

Modifying the highlight rules in this way obviates the explicit integer highlighting rule.

(Essentially, my modification just changes the `i?` check to `[iL]?`.)