forked from enlightenment/efl
edje/epp: cpp line control command is #line
SVN revision: 62381
This commit is contained in:
parent
ca7c70f5be
commit
c76a60b0a5
|
@ -273,7 +273,7 @@ next_token(char *p, char *end, char **new_p, int *delim)
|
||||||
|
|
||||||
/* handle cpp comments */
|
/* handle cpp comments */
|
||||||
/* their line format is
|
/* their line format is
|
||||||
* # <line no. of next line> <filename from next line on> [??]
|
* #line <line no. of next line> <filename from next line on> [??]
|
||||||
*/
|
*/
|
||||||
cpp_token_line = NULL;
|
cpp_token_line = NULL;
|
||||||
cpp_token_file = NULL;
|
cpp_token_file = NULL;
|
||||||
|
|
|
@ -2147,13 +2147,8 @@ output_line_command(cpp_reader * pfile, int conditional,
|
||||||
|
|
||||||
CPP_RESERVE(pfile, 4 * strlen(ip->nominal_fname) + 50);
|
CPP_RESERVE(pfile, 4 * strlen(ip->nominal_fname) + 50);
|
||||||
{
|
{
|
||||||
#ifdef OUTPUT_LINE_COMMANDS
|
|
||||||
static char sharp_line[] = "#line ";
|
static char sharp_line[] = "#line ";
|
||||||
|
|
||||||
#else
|
|
||||||
static char sharp_line[] = "# ";
|
|
||||||
|
|
||||||
#endif
|
|
||||||
CPP_PUTS_Q(pfile, sharp_line, sizeof(sharp_line) - 1);
|
CPP_PUTS_Q(pfile, sharp_line, sizeof(sharp_line) - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue