-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Different behaviour for : and = in strings #27
Comments
After the colon must be a space but after the |
Neon is officially compatible with INI? |
No. |
In YAML it is possible to write foo: foo: bar # same as foo: "foo: bar" Why not in NEON? I would like to write: foo: foo=bar without quotations. |
So far no one needed it, probably it is not useful in practice.
It is currently little bit problematic, because |
No, it is not, it is illegal syntax. I.e. Symfony Yaml component fails with this error: Uncaught Symfony\Component\Yaml\Exception\ParseException: A colon cannot be used in an unquoted mapping value at line 1 (near "foo: foo: bar"). |
It was possible in Symfony 2. And yes, it is illegal. So I have solved a problem with |
is fine, but
throws
Error: Unexpected '=' on line 1, column 8.
The text was updated successfully, but these errors were encountered: