mirror of
git://git.sv.gnu.org/nano.git
synced 2025-01-20 08:19:19 +03:00
syntax: go: sign of exponent in number literal is optional
Signed-off-by: Tom Levy <tomlevy93@gmail.com>
This commit is contained in:
parent
d04b0c123e
commit
a794c3318b
@ -24,9 +24,9 @@ color brightcyan "\<(package|import)\>"
|
||||
color brightcyan "//[[:space:]]*\+build[[:space:]]+(([a-zA-Z_0-9]+[[:space:]]*)+,[[:space:]]*)*[a-zA-Z_0-9]+"
|
||||
|
||||
# Literals.
|
||||
color red "\<[0-9]+\.[0-9]*([Ee][+-][0-9]+)?i?\>"
|
||||
color red "\<[0-9]+[Ee][+-][0-9]+i?\>"
|
||||
color red "\B\.[0-9]+([Ee][+-][0-9]+)?i?\>"
|
||||
color red "\<[0-9]+\.[0-9]*([Ee][+-]?[0-9]+)?i?\>"
|
||||
color red "\<[0-9]+[Ee][+-]?[0-9]+i?\>"
|
||||
color red "\B\.[0-9]+([Ee][+-]?[0-9]+)?i?\>"
|
||||
color red "\<[0-9]+i\>"
|
||||
color red "\<[1-9][0-9]*\>"
|
||||
color red "\<0[0-7]*\>"
|
||||
|
Loading…
Reference in New Issue
Block a user