Branch: Tag:

2003-07-04

2003-07-04 12:42:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added some #line directives.

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

438:   void main(int argc, array(string) argv)   {    array(string) f = Stdio.File("stdin")->read()/"@@"; -  write(({f[0],gen(),@f[1..]})*""); +  write(({ 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..]})*"");   }