Registered Member
|
Hi,
Kdevelop 5.2.2 and earlier have a problem with parsing php code when file contains namespace/variable 'String'.
or
Kdevelop for above example on popup show me:
Note: After I change 'STRING' to 'STRINGx' then everything start work again (the coloured code comes back) but it is not a solution. Please help. |
Registered Member
|
Is there any tutorial how to start contribution?
I suppose there is a bug in kdev-php/parser/php.g but I do not understand such parser language. Where is the correct place to create a pull request? |
Global Moderator
|
Hi,
the .g files are grammar files for the kdev-pg-qt parser generator. You should be able to find some documentation on that on the internet. Contributions are very welcome! The best place to submit patches is on phabricator.kde.org. Best, Sven
I'm working on the KDevelop IDE.
|
Registered Member
|
I do not see a solution to fix that.
I only can say that kdevelop shows errors for lines:
but not for:
`Void` and `Yield` are mentioned in https://github.com/KDE/kdev-php/blob/ma ... php.g#L241 but `void` is also at: https://github.com/KDE/kdev-php/blob/16 ... #L911-L922 I do not have enough experience or skills to find out more. |
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]