Mercurial > vim
view runtime/syntax/testdir/dumps/vim_key_notation_07.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 | 95f54d96baba |
children |
line wrap: on
line source
|<+0#e000e06#ffffff0|M|i|d@1|l|e|M|o|u|s|e|>| +0#0000000&@61 |<+0#e000e06&|M|i|d@1|l|e|D|r|a|g|>| +0#0000000&@62 |<+0#e000e06&|M|i|d@1|l|e|R|e|l|e|a|s|e|>| +0#0000000&@59 |<+0#e000e06&|R|i|g|h|t|M|o|u|s|e|>| +0#0000000&@62 |<+0#e000e06&|R|i|g|h|t|D|r|a|g|>| +0#0000000&@63 ><+0#e000e06&|R|i|g|h|t|R|e|l|e|a|s|e|>| +0#0000000&@60 |<+0#e000e06&|S|c|r|o|l@1|W|h|e@1|l|U|p|>| +0#0000000&@59 |<+0#e000e06&|S|c|r|o|l@1|W|h|e@1|l|D|o|w|n|>| +0#0000000&@57 |<+0#e000e06&|S|c|r|o|l@1|W|h|e@1|l|R|i|g|h|t|>| +0#0000000&@56 |<+0#e000e06&|S|c|r|o|l@1|W|h|e@1|l|L|e|f|t|>| +0#0000000&@57 |<+0#e000e06&|M|o|u|s|e|D|o|w|n|>| +0#0000000&@63 |<+0#e000e06&|M|o|u|s|e|U|p|>| +0#0000000&@65 |<+0#e000e06&|X|1|M|o|u|s|e|>| +0#0000000&@65 |<+0#e000e06&|X|1|D|r|a|g|>| +0#0000000&@66 |<+0#e000e06&|X|1|R|e|l|e|a|s|e|>| +0#0000000&@63 |<+0#e000e06&|X|2|M|o|u|s|e|>| +0#0000000&@65 |<+0#e000e06&|X|2|D|r|a|g|>| +0#0000000&@66 |<+0#e000e06&|X|2|R|e|l|e|a|s|e|>| +0#0000000&@63 |<+0#e000e06&|D|r|o|p|>| +0#0000000&@68 @57|1|2|7|,|1| @8|8|4|%|