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

List:       kdevelop-bugs
Subject:    [Bug 264304] New: bad syntax support for "else" keyword
From:       Chris KOALI <chris.kde () gmail ! com>
Date:       2011-01-25 23:03:57
Message-ID: bug-264304-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: bad syntax support for "else" keyword
           Product: kdevelop
           Version: SVN
          Platform: Archlinux Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: Language Support: PHP
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: chris.kde@gmail.com


Version:           SVN (using KDE 4.5.5) 
OS:                Linux

"else" keyword is not correctly supported with the alternative syntax:

http://php.net/manual/en/control-structures.alternative-syntax.php

Reproducible: Always

Steps to Reproduce:
Try this code:

<?php if (true):
    echo 'ok1';
else: 
    echo 'ok2';
endif; ?>


Actual Results:  
"else" keyword is reported as an error (unexpected token) by KDevelop.

Expected Results:  
"else" should not be reported as an error.

Version
kdevelop 4.2
kdev-php 1.2

-- 
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