christoph2 / pyA2L

ASAM ASAP2 Library for Python
GNU General Public License v2.0
138 stars 71 forks source link

tool cannot create db when long names are having multiple quotes #27

Closed lovingmind closed 1 year ago

lovingmind commented 3 years ago

the issue

line 53940:95 mismatched input '"aktiv"' expecting {'ASCII', 'CURVE', 'MAP', 'CUBOID', 'CUBE_4', 'CUBE_5', 'VAL_BLK', 'VALUE'} line 53952:5 mismatched input 'CHARACTERISTIC' expecting 'MODULE'

when i checked the a2l file the long name was

/begin CHARACTERISTIC

DestfRst_C
"Abschaltung  ""aktiv"" zu ""nicht aktiv"""
VALUE
0x91C6000
Wu8
1.00000000000
compu_VERB
0.00
1.00000000000

FORMAT "%1.11"

/end CHARACTERISTIC