Commit a794c331 authored by Tom Levy's avatar Tom Levy Committed by Benno Schulenberg
Browse files

syntax: go: sign of exponent in number literal is optional

Signed-off-by: default avatarTom Levy <tomlevy93@gmail.com>
No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
......@@ -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]*\>"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment