https://bugs.kde.org/show_bug.cgi?id=462178

            Bug ID: 462178
           Summary: [toml] Hex, octal, binary integers and nan, inf
    Classification: Frameworks and Libraries
           Product: frameworks-syntax-highlighting
           Version: unspecified
          Platform: unspecified
                OS: All
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: syntax
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: soli...@outlook.com
                CC: walter.von.entfer...@posteo.net
  Target Milestone: ---

SUMMARY
0x (hex), 0o (octal), 0b (binary) integers in TOML are not highlighted. `nan`
(not a number) and `inf` are also treated as errors, even though they are
allowed.

STEPS TO REPRODUCE
Paste the following TOML file:

binary_int = 0b11010110
octal_int = 0o755
hex_int = 0xdead_beef
infinity = inf
neg_infinity = -inf
not_a_number = nan

OBSERVED RESULT
All of the values are underlined as errors in the input.

EXPECTED RESULT
They are parsed correctly.

ADDITIONAL INFORMATION
* TOML website (see more examples below): https://toml.io/en/
* TOML spec: https://toml.io/en/v1.0.0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to