2 * ----------------------------------------------------------------------
11 #insert open_pxp_lex_aux_*.src
12 #insert pxp_lex_aux.src
16 #insert pxp_lex_defs_*.def
19 rule scan_within_tag = parse
21 { tok_Ignore__Within_tag }
23 { Name (Lexing.lexeme lexbuf ), Within_tag }
25 { tok_Eq__Within_tag }
26 | '"' character_except_quot* '"'
27 { let s = Lexing.lexeme lexbuf in
28 let v = String.sub s 1 (String.length s - 2) in
29 Attval v, Within_tag }
31 { raise (WF_error ("Cannot find the second quotation mark"))
33 | "'" character_except_apos* "'"
34 { let s = Lexing.lexeme lexbuf in
35 let v = String.sub s 1 (String.length s - 2) in
36 Attval v, Within_tag }
38 { raise (WF_error ("Cannot find the second quotation mark"))
41 { tok_Rangle__Content }
43 { tok_Rangle_empty__Content }
45 { tok_Eof__Within_tag }
47 { raise (WF_error ("Illegal inside tags")) }
49 { raise Netconversion.Malformed_code }
52 (* ======================================================================
56 * Revision 1.1 2000/11/17 09:57:32 lpadovan
59 * Revision 1.3 2000/08/14 22:18:34 gerd
60 * Bad_character_stream -> Netconversion.Malformed_code
62 * Revision 1.2 2000/05/29 23:53:12 gerd
63 * Updated because Markup_* modules have been renamed to Pxp_*.
65 * Revision 1.1 2000/05/20 20:33:25 gerd