Waitrud Weber’s blog

things and reminders for memories

C_Analyzer : Skip the under stir in C.

Scheme in this program should be like the below.

		switch ( canread ) {
		case 1:
			if ( m_start_with ( (char*)p_dummy, "\r\n" ) == 1 ) {
				printf("we could find the end line.\r\n");
			} else if ( m_start_with ( (char*)p_dummy, "#include" ) == 1 ) {
				printf("we could find #include.\r\n");
			} else if ( m_start_with ( (char*)p_dummy, "#define" ) == 1 ) {
				printf("we could find #define.\r\n");
			} else if ( m_start_with ( (char*)p_dummy, "typedef" ) == 1 ) {
				printf(" we could find typedef.\r\n");
			} else if (  typeofprimitive ( &structure_fp, (char*)p_dummy ) == 11 ) {
				printf(" we could find type.\r\n");
			}
			break;
		case 10:
			break;
		}