[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 292357] New: Problem in Parser: Unexpected token ':' - When dealing with GCC operator ?:
From: ichramm <juanantonio.ram () gmail ! com>
Date: 2012-01-24 20:47:07
Message-ID: bug-292357-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=292357
Summary: Problem in Parser: Unexpected token ':' - When dealing
with GCC operator ?:
Product: kdevelop
Version: 4.2.3
Platform: Archlinux Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: NOR
Component: cpp-parser
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: juanantonio.ram@gmail.com
Version: 4.2.3 (using KDE 4.7.4)
OS: Linux
The following line confuses the parser because it does not know the
GCC-specific operator ?: (conditional assignment) for C/C++
test = test ?: "default";
Reproducible: Always
Steps to Reproduce:
Just write a conditional assignment like the one above.
Actual Results:
-
Expected Results:
The token is expected to be recognized
OS: Linux (x86_64) release 3.2.1-2-ARCH
Compiler: gcc
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic