kdevelop-pg-qt broken

Milian Wolff mail at milianw.de
Fri Aug 6 23:59:29 UTC 2010


On Thursday 05 August 2010 19:29:26 Milian Wolff wrote:
> Heyho,
> 
> The_User, seems like you broke KDevelop-Pg-Qt. Please try the CSS grammar.
> Something like this:
> 
> "a { color: rgba(255,0,0,127); }"
> 
> breaks, whith the strange message:
> QDEBUG : Css::TestParser::parser(rgba value) ** ERROR: "Expected symbol
> "maybeSgml" (current token: "}" [1015] at 0:30 - 0:30)"
> QDEBUG : Css::TestParser::parser(rgba value) ** ERROR: "Expected symbol
> "ruleList" (current token: "}" [1015] at 0:30 - 0:30)"
> QDEBUG : Css::TestParser::parser(rgba value) ** ERROR: "Expected symbol
> "start" (current token: "}" [1015] at 0:30 - 0:30)"
> 
> If I add a trailing whitespace it works again.

Another bug:

If I do this in php.g:


  | CLOSE_TAG
  | OPEN_TAG
  | OPEN_TAG_WITH_ECHO expr=expr semicolonOrCloseTag
  | html=INLINE_HTML
  | CONST #consts=constantDeclaration @ COMMA SEMICOLON
  | USE #useNamespace=useNamespace @ COMMA SEMICOLON
-> statement ;;

html is always filled with 0, even though a OPEN_TAG was encountered. Attached 
is the diff between the two generated parsers (still with an arbitrary 
checkout in the past that makes it work).

Please fix this Jonathan.


-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parser_fail.diff.zip
Type: application/zip
Size: 5006 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100807/2db02539/attachment.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100807/2db02539/attachment.sig>


More information about the KDevelop-devel mailing list