Wiki

Ticket #305 (new enhancement)

Opened 5 years ago

Add restrictions for underscores in numeric literals

Reported by: Nefarel Owned by:
Priority: minor Milestone:
Component: Cobra Compiler Version: 0.8.0
Keywords: Cc:

Description

This should not be allowed:

Underscores at the end of the number.

537_
0x45_

Multiple underscores between digits

37______35__26

Underscores adjacent to decimal point

72_.435

In short only valid place for underscore should be between digits.

Note: See TracTickets for help on using tickets.