Skip to content

Commit 72a6d54

Browse files
committed
Update lexical-structure.md
1 parent e90c654 commit 72a6d54

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

standard/lexical-structure.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ Integer literals are used to write values of types `int`, `uint`, `long`, and `u
495495
integer_literal
496496
: decimal_integer_literal
497497
| hexadecimal_integer_literal
498-
| binary_integer_literal
498+
| Binary_Integer_Literal
499499
;
500500
501501
decimal_integer_literal
@@ -539,22 +539,22 @@ hex_digit_or_underscore
539539
| '_'
540540
;
541541
542-
binary_integer_literal
543-
: '_'* '0b' binary_digits+ integer_type_suffix?
544-
| '_'* '0B' binary_digits+ integer_type_suffix?
542+
Binary_Integer_Literal
543+
: '_'* '0b' Binary_Digits+ Integer_Type_Suffix?
544+
| '_'* '0B' Binary_Digits+ Integer_Type_Suffix?
545545
;
546546
547-
binary_digits
548-
: binary_digit
549-
| binary_digit binary_digit_or_underscore* binary_digit
547+
Binary_Digits
548+
: Binary_Digit
549+
| Binary_Digit Binary_Digit_Or_Underscore* Binary_Digit
550550
;
551551
552-
binary_digit
552+
Binary_Digit
553553
: '0'
554554
| '1'
555555
;
556556
557-
binary_digit_or_underscore
557+
Binary_Digit_Or_Underscore
558558
: binary_digit
559559
| '_'
560560
;

0 commit comments

Comments
 (0)