mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
* Fix #5103: Add support for BigInt literals * Fix typos found in testing * Support binary, octal and hex BigInt literals * Make decimal BigInt test consistent other bases * Correct test BigInt test names * Add Node versions to CI
This commit is contained in:
committed by
Geoffrey Booth
parent
ddb5dac49d
commit
09c95394e1
@@ -1212,9 +1212,10 @@ CSX_ATTRIBUTE = /// ^
|
||||
///
|
||||
|
||||
NUMBER = ///
|
||||
^ 0b[01]+ | # binary
|
||||
^ 0o[0-7]+ | # octal
|
||||
^ 0x[\da-f]+ | # hex
|
||||
^ 0b[01]+n? | # binary
|
||||
^ 0o[0-7]+n? | # octal
|
||||
^ 0x[\da-f]+n? | # hex
|
||||
^ \d+n | # decimal bigint
|
||||
^ \d*\.?\d+ (?:e[+-]?\d+)? # decimal
|
||||
///i
|
||||
|
||||
|
||||
Reference in New Issue
Block a user