Kaydet (Commit) 13148009 authored tarafından Andras Timar's avatar Andras Timar

typo: COMMEND->COMMENT

Change-Id: I1bac574d44b1fbbdd2cde41ba1af033e952d811a
üst 0df1e4a8
......@@ -26,7 +26,7 @@
/*------------------------------------------------------ */
/*------------------------------------------------------ */
#define IGNOREDTOKENS 400 /* #include | #pragma | //... | ... */
#define COMMEND 401 /*... */
#define COMMENT 401 /*... */
#define DEFINEDRES 402 /* Text = { */
#define ANYTOKEN 404 /* XYZ */
#define UNKNOWNTOKEN 405 /* XYZ[ \t]$ */
......
......@@ -89,8 +89,8 @@ int bText=0;
pChar[1] = 0x00;
pChar[0] = c3;
workOnTokenSet( COMMEND, yytext );
workOnTokenSet( COMMEND, pChar );
workOnTokenSet( COMMENT, yytext );
workOnTokenSet( COMMENT, pChar );
for(;;) {
if ( c3 == EOF )
......@@ -102,7 +102,7 @@ int bText=0;
c3 = yyinput();
pChar[0] = c3;
workOnTokenSet( COMMEND, pChar );
workOnTokenSet( COMMENT, pChar );
}
}
......@@ -114,7 +114,7 @@ int bText=0;
\<[^\>\!]*\> {
bText = 0;
if ( yytext[ 1 ] == '!' && yytext[ 2 ] == '-' && yytext[ 3 ] == '-' )
workOnTokenSet( COMMEND, yytext );
workOnTokenSet( COMMENT, yytext );
else
workOnTokenSet( CFG_UNKNOWNTAG, yytext );
}
......
......@@ -82,8 +82,8 @@ void YYWarning();
pChar[1] = 0x00;
pChar[0] = c2;
WorkOnTokenSet( COMMEND, yytext );
WorkOnTokenSet( COMMEND, pChar );
WorkOnTokenSet( COMMENT, yytext );
WorkOnTokenSet( COMMENT, pChar );
for(;;) {
if ( c2 == EOF )
break;
......@@ -92,7 +92,7 @@ void YYWarning();
c1 = c2;
c2 = yyinput();
pChar[0] = c2;
WorkOnTokenSet( COMMEND, pChar );
WorkOnTokenSet( COMMENT, pChar );
}
}
......
......@@ -144,8 +144,8 @@ int bText=0;
pChar[1] = 0x00;
pChar[0] = c3;
WorkOnTokenSet( COMMEND, yytext );
WorkOnTokenSet( COMMEND, pChar );
WorkOnTokenSet( COMMENT, yytext );
WorkOnTokenSet( COMMENT, pChar );
for(;;) {
if ( c3 == EOF )
......@@ -156,7 +156,7 @@ int bText=0;
c2 = c3;
c3 = yyinput();
pChar[0] = c3;
WorkOnTokenSet( COMMEND, pChar );
WorkOnTokenSet( COMMENT, pChar );
}
}
......
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