コード例 #1
0
ファイル: misc.c プロジェクト: Kampbell/ReFlex
void
out_str_dec(const char *fmt, const char *str, int n)
{
    printf(fmt, str, n);
    out_line_count(fmt);
    out_line_count(str);
}
コード例 #2
0
ファイル: misc.c プロジェクト: Kampbell/ReFlex
void
out_str(const char *fmt, const char *str)
{
    printf(fmt, str);
    out_line_count(fmt);
    out_line_count(str);
}
コード例 #3
0
ファイル: misc.c プロジェクト: juanfra684/DragonFlyBSD
void out_str3(const char *fmt, const char *s1, const char *s2, const char *s3)
	{
	printf( fmt, s1, s2, s3 );
	out_line_count( fmt );
	out_line_count( s1 );
	out_line_count( s2 );
	out_line_count( s3 );
	}
コード例 #4
0
ファイル: misc.c プロジェクト: Kampbell/ReFlex
void
outn(const char *str)
{
    puts(out_indent(str));
    out_line_count(str);
    ++out_linenum;
}
コード例 #5
0
ファイル: misc.c プロジェクト: juanfra684/DragonFlyBSD
void out_hex(const char *fmt, unsigned int x)
	{
	printf( fmt, x );
	out_line_count( fmt );
	}
コード例 #6
0
ファイル: misc.c プロジェクト: juanfra684/DragonFlyBSD
void out_dec2(const char *fmt, int n1, int n2)
	{
	printf( fmt, n1, n2 );
	out_line_count( fmt );
	}
コード例 #7
0
ファイル: misc.c プロジェクト: juanfra684/DragonFlyBSD
void out_dec(const char *fmt, int n)
	{
	printf( fmt, n );
	out_line_count( fmt );
	}
コード例 #8
0
ファイル: misc.c プロジェクト: juanfra684/DragonFlyBSD
void out(const char *str)
	{
	fputs( str, stdout );
	out_line_count( str );
	}
コード例 #9
0
ファイル: misc.c プロジェクト: Kampbell/ReFlex
/* out - various flavors of outputting a (possibly formatted) string for the
 *	 generated scanner, keeping track of the line count.
 */
void
out(const char *str)
{
    fputs(out_indent(str), stdout);
    out_line_count(str);
}