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

Allow reading of line numbers of tables, arrays and keys. #75

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

oshawa-connection
Copy link

Apologies as this is quite rough and needs some review, but this is a PR for issue #74.

I hacked together two files just for demo purposes, they can be safely deleted:
toml_line_number_example.c and line_number_sample.toml

The one I did struggle with is getting the line_no directly on toml_datum_t as it is created from a toml_raw_t which I don't want to change into a struct from const char *. Instead you have to use toml_key_lineno for this.

@w568w
Copy link

w568w commented Feb 22, 2024

Sorry for spamming, but what is keeping this PR from being reviewed for 2 years? This does not look like a very complicated pull request and there is no breaking change made.

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

Successfully merging this pull request may close these issues.

2 participants