Hey everyone!
I have a problem generating the tokens in Lex.. is there any way i can
specify the token to contain data defining a start and a end point? ...
in the following file..i need a token that contains data from line 15 (
line where MSGNAME ends) till the arrow on line 28.(excluding the arrow
itself). This data has to be stored in a structure.
14 MSGNAME = APP_LOG_MSG_ID_HANDLE_EV:
15
16 APP_NAME :
17 ASC : M m s _ P r o x y
. . . .
18 DEC : 77 109 115 95 80 114 111 120 121
0 0 0 0
19 HEX : 0x4D 0x6D 0x73 0x5F 0x50 0x72 0x6F 0x78 0x79
0x00 0x00 0x00 0x00
20 STATE : 1 = 0x1
21 PORT_ID : 0x1201250C
22 APP_ID : 38 = 0x26
23 EV_CODE : 8433 = 0x20F1
24
25 0000: 4D 6D 73 5F 50 72 6F 78 79 00 00 00 00 01 C8 2C
Mms_Proxy......,
26 0010: 12 01 25 0C 00 26 66 93 00 00 20 F1
...%..&f... .
27
28 ---> APP_LOG_MSG_ID_HANDLE_EV ... 00:03:36.606689 ... ( 524928
) ...
Awaiting an early response,
Regards,
-Geetika