Mercurial > vim
view runtime/syntax/testdir/dumps/vim_ex_commands_20.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 | bfb925ee6bc8 |
children | e4a0c5bba6a0 |
line wrap: on
line source
|:+0&#ffffff0|o+0#af5f00255&|m|e|n|u| +0#0000000&@68 |:|o+0#af5f00255&|n|l|y| +0#0000000&@69 |:|o+0#af5f00255&|n|o|r|e|m|a|p| +0#0000000&@65 |:|o+0#af5f00255&|n|o|r|e|m|e|n|u| +0#0000000&@64 |:|o+0#af5f00255&|p|t|i|o|n|s| +0#0000000&@66 >:|o+0#af5f00255&|u|n|m|a|p| +0#0000000&@67 |:|o+0#af5f00255&|u|n|m|e|n|u| +0#0000000&@66 |:|o+0#af5f00255&|w|n|s|y|n|t|a|x| +0#0000000&@64 |:|p+0#af5f00255&|a|c|k|a|d@1| +0#0000000&@66 |:|p+0#af5f00255&|a|c|k|l|o|a|d|a|l@1| +0#0000000&@62 |:|p+0#af5f00255&|c|l|o|s|e| +0#0000000&@67 |:|p+0#af5f00255&|e|d|i|t| +0#0000000&@68 |:|p+0#af5f00255&|e|r|l| +0#0000000&@69 |:|p+0#af5f00255&|r|i|n|t| +0#0000000&@68 |:|p+0#af5f00255&|r|o|f|d|e|l| +0#0000000&@66 |:|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@66 |:|p+0#af5f00255&|r|o|m|p|t|f|i|n|d| +0#0000000&@63 |:|p+0#af5f00255&|r|o|m|p|t|r|e|p|l| +0#0000000&@63 |:|p+0#af5f00255&|e|r|l|d|o| +0#0000000&@67 @57|3|6|1|,|1| @8|3|0|%|