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

lines with leading hashes in multiline string treated like comment #19

Open
markkap opened this issue Jun 5, 2024 · 1 comment
Open

Comments

@markkap
Copy link

markkap commented Jun 5, 2024

something like
key = """
#I am here
"""

will have an empty string for key instead of "#I am here". Supporting this is not explicitly mention in the spec examples, but follows the spirit of using hashed in a one line string

@markkap
Copy link
Author

markkap commented Jun 5, 2024

after playing a little with the code it seems like line 400 should be
' elseif($toml[$i] == '#' && !$openString && !$openKeygroup && !$openMString && !$openMLString)'

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

No branches or pull requests

1 participant