annotate runtime/syntax/testdir/dumps/java_numbers_01.dump @ 34466:315c0d987fd2

runtime(java): Improve the recognition of literals (#14120) Commit: https://github.com/vim/vim/commit/100a665634a0a2edbc755daf453c4915800684dd Author: Aliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com> Date: Sat Mar 2 01:11:14 2024 +0300 runtime(java): Improve the recognition of literals (https://github.com/vim/vim/issues/14120) * Emend the Unicode and octal escape sequence patterns; * Accept the (repeated) underscore separators in all numerical literals; * Recognise hexadecimal floating-point literals. (The space escape sequence '\s' will be introduced along with text blocks in another PR.) References: https://docs.oracle.com/javase/specs/jls/se17/html/jls-3.html#jls-3.3 https://docs.oracle.com/javase/specs/jls/se17/html/jls-3.html#jls-3.10.1 https://docs.oracle.com/javase/specs/jls/se17/html/jls-3.html#jls-3.10.2 https://docs.oracle.com/javase/specs/jls/se17/html/jls-3.html#jls-3.10.7 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Fri, 01 Mar 2024 23:15:09 +0100
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
34466
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 | +0&#ffffff0@11|0+0#e000002&|x|.|0|p|+|0|,+0#0000000&| |0+0#e000002&|x|0|.|p|+|0|,+0#0000000&| |0+0#e000002&|x|0|.|0|p|+|0|,+0#0000000&| |0+0#e000002&|x|0|P|+|0|,+0#0000000&| @27
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 @12|0+0#e000002&|x|.|0|p|+|0|d|,+0#0000000&| |0+0#e000002&|x|0|.|p|+|0|d|,+0#0000000&| |0+0#e000002&|x|0|.|0|p|+|0|d|,+0#0000000&| |0+0#e000002&|x|0|P|+|0|D|,+0#0000000&| @23
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 @12|0+0#e000002&|x|.|0|p|+|0|f|,+0#0000000&| |0+0#e000002&|x|0|.|p|+|0|f|,+0#0000000&| |0+0#e000002&|x|0|.|0|p|+|0|f|,+0#0000000&| |0+0#e000002&|x|0|P|+|0|F|,+0#0000000&| @23
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 @75
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5 @12|1+0#e000002&|.|,+0#0000000&| |1+0#e000002&|.|2|,+0#0000000&| |1+0#e000002&|.|2|e|3|,+0#0000000&| |1+0#e000002&|.|2|e|3|d|,+0#0000000&| |1+0#e000002&|.|2|e|3|f|,+0#0000000&| @31
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 @16>1+0#e000002&|.|2|e|-|3|,+0#0000000&| |1+0#e000002&|.|2|e|-|3|d|,+0#0000000&| |1+0#e000002&|.|2|E|-|3|F|,+0#0000000&| @33
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7 @16|1+0#e000002&|.|2|e|+|3|,+0#0000000&| |1+0#e000002&|.|2|E|+|3|D|,+0#0000000&| |1+0#e000002&|.|2|e|+|3|f|,+0#0000000&| @33
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
8 @12|.+0#e000002&|2|,+0#0000000&| |.+0#e000002&|2|e|3|,+0#0000000&| |.+0#e000002&|2|e|3|d|,+0#0000000&| |.+0#e000002&|2|e|3|f|,+0#0000000&| @39
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9 @16|.+0#e000002&|2|e|-|3|,+0#0000000&| |.+0#e000002&|2|e|-|3|d|,+0#0000000&| |.+0#e000002&|2|E|-|3|F|,+0#0000000&| @36
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10 @16|.+0#e000002&|2|e|+|3|,+0#0000000&| |.+0#e000002&|2|E|+|3|D|,+0#0000000&| |.+0#e000002&|2|e|+|3|f|,+0#0000000&| @36
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11 @12|1+0#e000002&|e|3|,+0#0000000&| |1+0#e000002&|e|3|d|,+0#0000000&| |1+0#e000002&|e|3|f|,+0#0000000&| @46
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
12 @16|1+0#e000002&|e|-|3|,+0#0000000&| |1+0#e000002&|e|-|3|d|,+0#0000000&| |1+0#e000002&|E|-|3|F|,+0#0000000&| @39
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
13 @16|1+0#e000002&|e|+|3|,+0#0000000&| |1+0#e000002&|E|+|3|D|,+0#0000000&| |1+0#e000002&|e|+|3|f|,+0#0000000&| @39
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
14 @12|1+0#e000002&|d|,+0#0000000&| |1+0#e000002&|D|,+0#0000000&| |1+0#e000002&|f|,+0#0000000&| |1+0#e000002&|F|,+0#0000000&| @47
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
15 @75
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
16 |/+0#0000e05&@3| |M|A|L|F|O|R|M|E|D|:| |:|l|e|t| |g|:|j|a|v|a|_|c|o|m@1|e|n|t|_|s|t|r|i|n|g|s| |=| |1| ||| |d|o|a|u|t|o|c|m|d| |S|y|n|t|a|x| +0#0000000&@8
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
17 |/+0#0000e05&@1| @9|0|_|x|.|0|p|0|,| |0|x|.|_|0|p|0|,| |0|x|.|0|_|p|0|,| |0|x|.|0|p|_|0|,| |0|x|.|0|p|0|_|,| +0#0000000&@18
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
18 |/+0#0000e05&@1| @9|0|x|0|_|.|0|p|0|,| |0|x|_|0|.|0|p|0|,| |0|x|p|0|,| +0#0000000&@37
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
19 @8|}|;| @64
315c0d987fd2 runtime(java): Improve the recognition of literals (#14120)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
20 @57|1|9|,|5|-|1|7| @6|1|8|%|