diff options
author | Aliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com> | 2024-03-02 01:11:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-01 23:11:14 +0100 |
commit | 100a665634a0a2edbc755daf453c4915800684dd (patch) | |
tree | 4dbf383e74893b11642b994e463d2751d685c4d1 /runtime/ftplugin | |
parent | c27fcf4857228bc650943246ffbba444a085b3e7 (diff) |
runtime(java): Improve the recognition of literals (#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>
Diffstat (limited to 'runtime/ftplugin')
0 files changed, 0 insertions, 0 deletions