Review Request: Global variables support

Miquel Canes Gonzalez miquelcanes at gmail.com
Sat Jun 18 20:47:00 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101678/
-----------------------------------------------------------

Review request for KDevelop.


Summary
-------

This patch adds support for global variables.

I need some help with this problems:
* The global variable is not hightlighted in the global line declaration. (global a)
* Adding the global variable declaration line when this variable has been used, is not changing the scope of the local variable.


Thank you!


Diffs
-----

  duchain/declarationbuilder.h ac337ca 
  duchain/declarationbuilder.cpp 652ff23 

Diff: http://git.reviewboard.kde.org/r/101678/diff


Testing
-------

a = 2

def foo():
  global a
  a = 2
  


Thanks,

Miquel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110618/debbd689/attachment.html>


More information about the KDevelop-devel mailing list