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

List:       kde-bugs-dist
Subject:    [Bug 292357] Problem in Parser: Unexpected token ':' - When dealing with GCC operator ?:
From:       Milian Wolff <mail () milianw ! de>
Date:       2012-01-26 21:05:56
Message-ID: E1RqWW4-0004Sf-4o () bugs ! kde ! org
[Download RAW message or body]

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


Milian Wolff <mail@milianw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Milian Wolff <mail milianw de>  2012-01-26 21:05:56 ---
Git commit ade659477987a2cffc250b164b0428ca4229ec97 by Milian Wolff.
Committed on 26/01/2012 at 22:05.
Pushed by mwolff into branch '4.3'.

allow empty expression in ternary conditional-expression

this makes kdevelop more compliant with GCC at least,
not sure about other compilers. Could not find anything
in the spec that explicitly allows this.

M  +6    -2    languages/cpp/parser/parser.cpp
M  +12   -0    languages/cpp/parser/tests/test_parser.cpp
M  +2    -0    languages/cpp/parser/tests/test_parser.h

http://commits.kde.org/kdevelop/ade659477987a2cffc250b164b0428ca4229ec97

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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