[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [frameworks-syntax-highlighting] [Bug 380408] New: [PATCH] C++: '-' is not a part of UDL String
From:       <bugzilla_noreply () kde ! org>
Date:       2017-05-31 23:03:45
Message-ID: bug-380408-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

            Bug ID: 380408
           Summary: [PATCH] C++: '-' is not a part of UDL String
           Product: frameworks-syntax-highlighting
           Version: 5.31.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-null@kde.org
          Reporter: jonathan.poelen@gmail.com
  Target Milestone: ---

In the expression: ""_d+n

This is considered as a string while there is an operator-

The suggested fix is to replace

<RegExpr attribute="String" context="#pop#pop" String="_[_0-9A-Z-a-z]*\b" />

with

<RegExpr attribute="String" context="#pop#pop" String="_[_0-9A-Za-z]*\b" />


Implemented here:

https://github.com/jonathanpoelen/syntax-highlighting/commit/9b5b451830a4d777beea556eaeb9a6e0886b1802

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic