Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Commit

Permalink
doc/ref/spec.md: fix int_lit 0
Browse files Browse the repository at this point in the history
Change-Id: If6dab6f595b4fac406ff6af191fbcc8eccbc5328
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/8842
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
Reviewed-by: CUE cueckoo <cueckoo@gmail.com>
  • Loading branch information
mpvl committed Feb 21, 2021
1 parent 2c86835 commit 3ca8680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/ref/spec.md
Expand Up @@ -285,7 +285,7 @@ There are several kinds of numeric literals.

```
int_lit = decimal_lit | si_lit | octal_lit | binary_lit | hex_lit .
decimal_lit = ( "1" … "9" ) { [ "_" ] decimal_digit } .
decimal_lit = "0" | ( "1" … "9" ) { [ "_" ] decimal_digit } .
decimals = decimal_digit { [ "_" ] decimal_digit } .
si_it = decimals [ "." decimals ] multiplier |
"." decimals multiplier .
Expand Down

0 comments on commit 3ca8680

Please sign in to comment.