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

column numbers? #66

Open
blueforesticarus opened this issue Feb 22, 2024 · 1 comment
Open

column numbers? #66

blueforesticarus opened this issue Feb 22, 2024 · 1 comment

Comments

@blueforesticarus
Copy link

It would be useful to add a #column number and total file #byte offset to complement #line and #file

@logological
Copy link
Owner

This might be problematic for encodings that permit multi-byte characters – should #column just count the number of bytes since the beginning of the line, or the number of characters? Are you aware of any other preprocessor that implements similar macros whose behaviour I could use as a precedent?

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

2 participants