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

List:       kwrite-devel
Subject:    [Bug 111385] New: wish,
From:       Daniel Franke <daniel.franke () imbs ! uni-luebeck ! de>
Date:       2005-08-23 21:39:43
Message-ID: 20050823233942.111385.daniel.franke () imbs ! uni-luebeck ! de
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=111385         
           Summary: wish, makefile syntax:  'if'-keyword and '+='-operator
           Product: kate
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: syntax
        AssignedTo: kwrite-devel kde org
        ReportedBy: daniel.franke imbs uni-luebeck de


Version:           unknown (using KDE 3.4.2, Gentoo)
Compiler:          gcc version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, \
                ssp-3.3.5.20050130-1, pie-8.7.7.1)
OS:                Linux (i686) release 2.6.11.11

The 'if'-keyword is actually a keyword in Makefile.am's only, it depends on the lags \
set by the AM_CONDITIONAL macro. Since 'else' and 'endif' are already marked as \
keywords, 'if' should be also.

The '+='-operator may be used in cases like this:

> Makefile (main)
CXXFLAGS  = ...
SOME_FLAG = y
export CXXFLAGS SOME_FLAG

> other Makefile (depends on main)
ifeq ($(SOME_FLAG),y)
  CXXFLAGS += ...
else
  CXXFLAGS += ...
endif

The CXXFLAGS is highlighted if and only if it is followed by the  assignment operator \
'=', it should also be highlighted if followed by '+='.


I tried to make the changes myself, but was lost in the RegExp-patterns ...
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel


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

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