Asap2
Asap2 copied to clipboard
Number notation not understood
/begin CHARACTERISTIC DATA_AsdDsbcCtl.AsdDsbcCtl_tiFil_nGrd_C_VW.At_Fnt
"time constant for speed gradient"
VALUE
0xa086e5b2
_REC_S1VAL_20_U1
2.54
_CNV_R_R_gqBeevc_jq_228_CM
1.e-002
2.55
DISPLAY_IDENTIFIER AsdDsbcCtl_tiFil_nGrd_C_VW.At_Fnt
FORMAT "%6.2"
/begin IF_DATA ETK
DP_BLOB
0xa086e5b2
1
/end IF_DATA
/end CHARACTERISTIC
The parser does not like the "1.e-002".
Syntax error, unexpected IDENTIFIER, expecting NUMBER
I modified the regex a little in the lex file and got it to work...
@prj how did you change this? were you able to parse the number correctly?