Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magical comments (undocumented?) #979

Closed
p5pRT opened this issue Dec 20, 1999 · 1 comment
Closed

Magical comments (undocumented?) #979

p5pRT opened this issue Dec 20, 1999 · 1 comment

Comments

@p5pRT
Copy link

p5pRT commented Dec 20, 1999

Migrated from rt.perl.org#1927 (status was 'resolved')

Searchable as RT1927$

@p5pRT
Copy link
Author

p5pRT commented Dec 20, 1999

From occitan@esperanto.org

Both 5.004 on Siemens Reliant Unix and 5.005 on the same and SuSE Linux
6.2​:

While exploring how to make iPerl give out proper line-numbers, I
happened on the fact that I can have the C preprocessor transform my
Perl-programme. Surprise​: The #line directives even work when the -P
option is not given. That means an innocent comment like

# line 34

or way more hairy yet

# 123 "foobar"

is going to completely mess up any error messages!

While this is exactly what I need for iPerl, I consider it a bug, and
I'd be much happier assigning to __LINE__ or __FILE__. But please don't
turn it off, without giving me an alternative!

--
Bring text-docs to life! Erwecke Textdokumente zum Leben!
  http​://beam.to/iPerl/
Vivigu tekstodokumentojn!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant