Merge: misc/vim: highlight the new Int literals
authorJean Privat <jean@pryen.org>
Sat, 1 Aug 2015 01:15:07 +0000 (21:15 -0400)
committerJean Privat <jean@pryen.org>
Sat, 1 Aug 2015 01:15:07 +0000 (21:15 -0400)
commitb34c89bd0cb8fc97fbab6932b65966541659d284
tree3dfbb96f2e89f44e0d7c9391fbbcc4b4110b7c27
parent2bfe88749dc76ddde87ff5b10ab1dc5dfb0fb042
parentd3d4814812ef4ad6392992ec9eafe2088d7c25b3
Merge: misc/vim: highlight the new Int literals

Add support for bin, oct and hex literals which are restrictive enough to detect invalid digits. Also accept `_` in all Int literals, and the suffixes `[iu]8|16|32` proposed by #1588.

Supports `_` in Float literals, it's not yet available but it can't be too far off.

Pull-Request: #1600
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>