From: Jelle Zijlstra Date: Fri, 17 Aug 2018 14:03:58 +0000 (-0700) Subject: normalize numeric literals (#454) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/cc48bc56caa79b0d605e80302c32be0457cfde39?hp=cc48bc56caa79b0d605e80302c32be0457cfde39 normalize numeric literals (#454) Fixes #452 I ended up making a couple of other normalizations to numeric literals too (lowercase everything, don't allow leading or trailing . in floats, remove redundant + sign in exponent). I don't care too much about those, so I'm happy to change the behavior there. For reference, here is Python's grammar for numeric literals: https://docs.python.org/3/reference/lexical_analysis.html#numeric-literals ---