Kaydet (Commit) 352fd156 authored tarafından Nils Fuhrmann's avatar Nils Fuhrmann

First implementation configuration parser

üst 086367df
......@@ -48,24 +48,19 @@ int bText=0;
WorkOnTokenSet( ANYTOKEN, yytext );
}
\<[^\>]*"package-id="\".*\"[^\<]*\> {
bText = 0;
WorkOnTokenSet( CFG_TAG, yytext );
}
\<[^\>]*"xml:lang="\".*\"[^\<]*\> {
bText = 1;
WorkOnTokenSet( CFG_TEXT_START, yytext );
}
\<[^\>]*"="\".*\"[^\<]*\> {
"<!--"[^\>]*\> {
bText = 0;
WorkOnTokenSet( CFG_TAG, yytext );
WorkOnTokenSet( COMMEND, yytext );
}
"<!--"[^\>]*\> {
\<[^\/][^\>]*\> {
bText = 0;
WorkOnTokenSet( COMMEND, yytext );
WorkOnTokenSet( CFG_TAG, yytext );
}
"<!--" {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment