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

            Bug ID: 417379
           Summary: ifeq
           Product: kate
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: syntax
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: fclus...@gmail.com
  Target Milestone: ---

Created attachment 125818
  --> https://bugs.kde.org/attachment.cgi?id=125818&action=edit
Invalid highlight

error_type := 0
check:
ifeq ($(error_type),0)
else ifeq ($(error_type),1)
else ifeq ($(error_type),2)
else ifeq ($(error_type),3)
endif

Such construction is highlighted as invalid though it is working for GNU Make
4.0.
https://www.gnu.org/software/make/manual/html_node/Conditional-Syntax.html

conditional-directive-one
text-if-one-is-true
else conditional-directive-two
text-if-two-is-true
else
text-if-one-and-two-are-false
endif

Linux u18p 4.15.0-74-generic #84-Ubuntu 
Qt Creator 4.5.2

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

Reply via email to