diff options
| author | Li Jin <dragon-fly@qq.com> | 2025-04-17 11:05:06 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2025-04-17 11:05:06 +0800 |
| commit | 0446b12d7be2ba4e8534987864fedfc586510291 (patch) | |
| tree | 3ed0b3efa0b6e4247cf7b4832704f3667fabd2ca /spec/inputs | |
| parent | 1c47083a8e2fe8a08a9dcf7d4520b4de98134c5d (diff) | |
| download | yuescript-0446b12d7be2ba4e8534987864fedfc586510291.tar.gz yuescript-0446b12d7be2ba4e8534987864fedfc586510291.tar.bz2 yuescript-0446b12d7be2ba4e8534987864fedfc586510291.zip | |
Fixed issue #209.
Diffstat (limited to 'spec/inputs')
| -rw-r--r-- | spec/inputs/literals.yue | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/inputs/literals.yue b/spec/inputs/literals.yue index 6b666f0..32cf7e7 100644 --- a/spec/inputs/literals.yue +++ b/spec/inputs/literals.yue | |||
| @@ -10,10 +10,19 @@ _ = { | |||
| 10 | 0xfF2323 | 10 | 0xfF2323 |
| 11 | 0xabcdef | 11 | 0xabcdef |
| 12 | 0xABCDEF | 12 | 0xABCDEF |
| 13 | 0XFB_C4_00 | ||
| 13 | 0x123p-123 | 14 | 0x123p-123 |
| 14 | 0xABCP+321 | 15 | 0xABCP+321 |
| 15 | 0x.1p-111 | 16 | 0x.1p-111 |
| 16 | 0xA_B_CP-3_2_1 | 17 | 0xA_B_CP-3_2_1 |
| 18 | 0x0.1E | ||
| 19 | 0xA23p-4 | ||
| 20 | 0X1.921FB54442D18P+1 | ||
| 21 | |||
| 22 | 0b01 | ||
| 23 | 0b00_00_10_00 | ||
| 24 | 0B1111 | ||
| 25 | 0B00_11_00_10_01 | ||
| 17 | 26 | ||
| 18 | .2323 | 27 | .2323 |
| 19 | .2323e-1 | 28 | .2323e-1 |
