Review Request 101678: Global variables support

Miquel Canes Gonzalez miquelcanes at gmail.com
Tue Jul 16 16:33:12 UTC 2013


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

(Updated July 16, 2013, 4:33 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDevelop.


Description
-------

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 Canes Gonzalez

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


More information about the KDevelop-devel mailing list