| Revision: | 1.1 |
| Committed: | Thu Jun 30 14:26:42 2005 UTC (21 years, 5 months ago) by root |
| Content type: | text/plain |
| Branch: | MAIN |
| CVS Tags: | PERL-5-8-7, HEAD |
| Branch point for: | PERL |
| Log Message: | *** empty log message *** |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | root | 1.1 | $line = 1; |
| 2 | while (<>) | ||
| 3 | { | ||
| 4 | $line++; | ||
| 5 | # 1st correct #line directives for perly.c itself | ||
| 6 | s/^(#line\s+)\d+(\s*"perly\.c"\s*)$/$1$line$2/; | ||
| 7 | # now add () round things gcc dislikes | ||
| 8 | s/if \(yyn = yydefred\[yystate\]\)/if ((yyn = yydefred[yystate]))/; | ||
| 9 | s/if \(yys = getenv\("YYDEBUG"\)\)/if ((yys = getenv("YYDEBUG")))/; | ||
| 10 | print; | ||
| 11 | } |