[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: KDevelop-PG and the resulting AST
From: Andreas Pakulat <apaku () gmx ! de>
Date: 2007-07-21 17:00:37
Message-ID: 20070721170037.GA5153 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]
Hi,
in the qmake_parser_experiment branch I've hit a pretty bad problem: I
can't produce a proper AST node for this rule:
( OR #id=IDENTIFIER ( #func_args=function_args | 0 ) )
-> or_op;;
the problem is that there's no relation between the id_sequence and the
func_args_sequence in the AST, but there is one in reality. I tried to
put
[: (*yynode)->func_args_sequence->insert(0); :]
into the epsilon part, but that doesn't work because kdev-pg's list
implementation is "crap" ;).
So I'd like to get some help, either a way to introduce some relation
between the two lists (in an ideal world kdev-pg would have a map or
list of pair support) or wether it would make sense to drop kdev-pg's
own list implementation and use STL for that (I'm willing to do that)
Andreas
--
You will wish you hadn't.
_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic