zayfod / pyfranca

A Python module and tools for working with Franca interface definition language (IDL) models.
MIT License
19 stars 13 forks source link

unable to extract/associate single line and block comment in fidl parser #27

Open manishpatodi opened 4 years ago

manishpatodi commented 4 years ago

Hi all

I am not able to associate block comment and single line comment with the structure or any other type only structured comment is getting associated, please let me know how to fix this issue,

package Common < @description : struct S @author Jens Baumann >

typeCollection X { // Manish - this is not getting associated struct Common_message { // @brief If Skew is larger than / comment 1 - this is not getting associated / Boolean COM_Last_Clock_Sync_Error } }

Thank you Manish