[Date Prev] [Date Index] [Date Next]
[Thread Prev] [Thread Index] [Thread Next]

[xyzzy:06937] Re: ネストされたコメントの色指定



こんにちは、名古屋の金子です。

   nobu.nokada<nobu.nokada@xxxxxxxxxxxx> wrote.
   [xyzzy:06936] Re: ネストされたコメントの色指定
 -----------------------------------------------

>   Turbo C には独立した cpp がついてませんでしたか。

 そうですね、ありました、ありました。

 で、コマンドラインから実行してみました。いわゆる hello.c を食
わせてみたら hello.i というファイルが作成されました。

D:\TC>cpp -Iinclude hello.c

hello.i の中身は以下。VC の出力とは形式が違うみたいですね。
hide-ifdef を変更しないとダメなのかな?すみません、ここから先は
分かりません。

hello.c 1: 
hello.c 2: 
hello.c 3: 
include\stdio.h 1: 
include\stdio.h 2: 
<略>
include\stdio.h 18: 
include\stdio.h 19: typedef unsigned size_t;
include\stdio.h 20: 
<略>
include\stdarg.h 17: 
include\stdarg.h 18: typedef void	*va_list;
include\stdarg.h 19: 
<略>
include\stdio.h 34: 
include\stdio.h 35: typedef long    fpos_t;
include\stdio.h 36: 
include\stdio.h 37: 
include\stdio.h 38: 
include\stdio.h 39: typedef struct  {
include\stdio.h 40: short           level;          
include\stdio.h 41: unsigned        flags;          
include\stdio.h 42: char            fd;             
include\stdio.h 43: unsigned char   hold;           
include\stdio.h 44: short           bsize;          
include\stdio.h 45: unsigned char   *buffer;        
include\stdio.h 46: unsigned char   *curp;          
include\stdio.h 47: unsigned        istemp;         
include\stdio.h 48: short           token;          
include\stdio.h 49: }       FILE;                           
include\stdio.h 50: 
<略>
include\stdio.h 109: void     cdecl  clearerr (FILE *stream);
include\stdio.h 110: int      cdecl  fclose   (FILE *stream);
include\stdio.h 111: int      cdecl  fflush   (FILE *stream);
include\stdio.h 112: int      cdecl  fgetc    (FILE *stream);
<略>
include\stdio.h 187: 
hello.c 4: 
hello.c 5: main()
hello.c 6: {
hello.c 7: printf("Hello, world\n");
hello.c 8: }
hello.c 9: 


== 金子 真昭 <kaneko@xxxxxxxxxxxx>

Index Home