source:
vendor/perl/5.8.8/perlyline.pl@
3296
| Last change on this file since 3296 was 3181, checked in by , 19 years ago | |
|---|---|
| File size: 331 bytes | |
| Rev | Line | |
|---|---|---|
| [3181] | 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 | } |
Note:
See TracBrowser
for help on using the repository browser.
