Waitrud Weber’s blog

things and reminders for memories

WindowsAPI: windows-make: Analyzer: not qualified: Last word was "#"

 

the place where there was a line: 

  a_token = m_concat( a_token, &dummy[0] );

 Customized skip_to

//
//
//
//
//
//
int aToken::block_to( char* skip_to, int *index , int file_end, FILE *fp) {
	char dummy[256];
	aToken *iToken = nullptr;
	char *parse_token;
	iToken = new aToken();
	int ii = *index;
	char *b_token = nullptr;
	char *a_token = nullptr;

	int counter = 0;

	a_token = char_string(1);
	a_token[0] = (char)'\0';

	int acnt = array_count(skip_to);

	printf("block to: %s\r\n", skip_to);
	for( ii=*index; iigetRaw(), iToken->getLine() );

			//free(a_token);
			//clean_null_array ();
			*index = ii;

			// exit(-1);
			this->block = a_token;
			return 1;
		}

		counter++;
	}

	*index = ii;

	printf( "return -1 index %d \r\n", *index );
	exit(-1);

	return -1;
}
loop4:
ii: 1903 file_end: 48005 counter: 41 acnt: 1 a_token: |  NEEDSDIR               /* for stat() */
| b_token: |/| skip_to: |
|
function: m_compare:start function: array_count:
start function: array_count:
loop1:
end of m_fread: 1
fread: 1
end of m_fread: 1
loop2:
start function: m_concat:
start function: array_count:
start function: array_count:
array_count: 42 1 |   NEEDSDIR               /* for stat() */
 #
function m_concat: i 0
loop3:
parse function: substring:   NEEDSDIR               /* for stat() */
#
loop4:
ii: 1904 file_end: 48005 counter: 42 acnt: 1 a_token: |  NEEDSDIR               /* for stat() */
#| b_token: |
| skip_to: |
|
function: m_compare:start function: array_count:
start function: array_count:
block_to ends: ii 1904 raw 1 line 1
a_token:   NEEDSDIR               /* for stat() */
#