About #line directives in url_scanner_ex.c

From: Date: Tue, 17 Oct 2000 10:43:25 +0000
Subject: About #line directives in url_scanner_ex.c
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-35241@lists.php.net to get a copy of this message
On Tue, 17 Oct 2000, Hartmut Holzgraefe wrote: >i think the 'standard' syntax for the #line directive is > > #line lineno "filename" > >although GNU cpp will accept both Yes, GNU cpp will accept them..but not all non-GNU's. >at least flex and bison emmit #line directives with both line >and filename, for example in zend-scanner.l -> zend-scanner.c >and zend-parser.y -> zend-parser.c, and i haven't heard of any >trouble with theese files No, not after I changed genfiles not to add those directives. Check out php-4.0.3pl1.tar.gz and you will only find #line directives from url_scanner_ex.c -file. >so it seems like re2c is to blame here and we should try to >fix the cause and not the symptoms ... Could it be added also into 'genfiles' ? And it must also have same kind of option to not to add those #line directives as flex and bison does have? --Jani

« previous php.dev (#35241) next »