dcsimg
Question of parsing file
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   KELLY_WU
Posted On:   Wednesday, February 2, 2005 01:47 AM

I got a error message ,Plese anybody help me Any help will be appreciated * MY RULE * exchange_file : "ISO-10303-21;" header_section data_section "END-ISO-10303-21;" ; * MY FILE CONTENT* ISO-10303-21; HEADER; ENDSEC; DATA; ENDSEC; END-ISO-10303-21; * OUTPUT ERROR * D:TestZone>java main TEST.ifc IFC Parser: Reading from file TEST.ifc . . . line 1:1: expecting "ISO-10303-21;", found 'ISO' exception: line 1:   More>>

I got a error message ,Plese anybody help me
Any help will be appreciated

* MY RULE *

exchange_file

: "ISO-10303-21;"

header_section

data_section

"END-ISO-10303-21;"

;

* MY FILE CONTENT*

ISO-10303-21;

HEADER;

ENDSEC;

DATA;

ENDSEC;

END-ISO-10303-21;

* OUTPUT ERROR *

D:TestZone>java main TEST.ifc

IFC Parser: Reading from file TEST.ifc . . .

line 1:1: expecting "ISO-10303-21;", found 'ISO'

exception: line 1:10: expecting '.', found '-'

   <<Less
About | Sitemap | Contact