[KDevelop-PG-Qt] [Patch] Full CC-Example
Jonathan Schmidt-Dominé - Developer
devel at the-user.org
Sun Oct 18 14:50:57 UTC 2009
Hi!
The cc-example for the parser-generator KDevelop-PG-Qt is very outdated (wrong
syntax, no functionality). So I decided to learn the syntax be patching the
cc-example. I have added a Lexer and corrected the Parser. A Visitor dumps the
parse-tree to console. I have not corrected everything, a few syntax-elements
like export are still missing. So the small test works, but the bigger test
does not. (I have added it to check the functionality after changes)
I hope you can apply the patch. ;)
Jonathan
PS:
The patch was created from /playground/devtools.
------------------------
Operating System: GNU/Linux
Kernel: Linux 2.6.30-ARCH
Distribution: Arch Linux
Qt: 4.5.1
KDE: 4.3.71 (KDE 4.3.71 (KDE 4.4 >= 20091007))
KMail: 1.12.90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cc-parser1.diff.bz2
Type: application/x-bzip
Size: 49988 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20091018/ec6f5eb8/attachment.bz2>
More information about the KDevelop-devel
mailing list