eolian: Test recognition of struct types used in methods
authorVitor Sousa <vitorsousasilva@gmail.com>
Wed, 21 Oct 2015 17:14:22 +0000 (18:14 +0100)
committerDaniel Kolesa <d.kolesa@osg.samsung.com>
Wed, 21 Oct 2015 17:15:55 +0000 (18:15 +0100)
commitd6055e952782cfe9b570eb414417f60cb4538f83
tree0655a01cdf472b0ef7bdb4cffd540e7cb8962224
parent8b489064019622cbe1a1f70cb09d7caf158ac893
eolian: Test recognition of struct types used in methods

Summary:
Add code to unit test to check if Eolian correctly recognize a struct
name as a struct type when it is used in a method.

Add new method to struct.eo to create this test.
Update struct_ref.c accordingly.

Reviewers: tasn, q66

Differential Revision: https://phab.enlightenment.org/D3213
src/tests/eolian/data/struct.eo
src/tests/eolian/data/struct_ref.c
src/tests/eolian/eolian_parsing.c