Branch: Tag:

2003-07-04

2003-07-04 14:46:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

More #line-directives.

Rev: src/post_modules/GL/gen.pike:1.18

438:   void main(int argc, array(string) argv)   {    array(string) f = Stdio.File("stdin")->read()/"@@"; -  write(({ f[0], +  write(({ +  "#line 1 \"auto.c.in\"\n", +  f[0],    sprintf("\n#line 1 %O\n", "generated by " + __FILE__),    gen(),    sprintf("\n#line %d \"auto.c.in\"\n", sizeof(f[0]/"\n")),    @f[1..]})*"");   }