edje/epp: cpp line control command is #line
authorbilliob <billiob>
Fri, 12 Aug 2011 12:39:17 +0000 (12:39 +0000)
committerbilliob <billiob@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 12 Aug 2011 12:39:17 +0000 (12:39 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@62381 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/edje_cc_parse.c
src/bin/epp/cpplib.c

index 3a12744..873e92d 100644 (file)
@@ -273,7 +273,7 @@ next_token(char *p, char *end, char **new_p, int *delim)
 
             /* handle cpp comments */
             /* 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_file = NULL;
index d6c60d2..132d2a9 100644 (file)
@@ -2147,13 +2147,8 @@ output_line_command(cpp_reader * pfile, int conditional,
 
    CPP_RESERVE(pfile, 4 * strlen(ip->nominal_fname) + 50);
    {
-#ifdef OUTPUT_LINE_COMMANDS
       static char         sharp_line[] = "#line ";
 
-#else
-      static char         sharp_line[] = "# ";
-
-#endif
       CPP_PUTS_Q(pfile, sharp_line, sizeof(sharp_line) - 1);
    }