symfony/symfony — pull request #8686 by jaikdean (2013-08-07 15:25:34+00:00)
Title: [bug][Yaml] Escaping of @ signs fails when registering Twig globals

To recreate, add the following to `config.yml`:

twig:
globals:
foo: "@@bar"

**Expected behaviour:** Twig has a global variable named `foo` containing the string `@bar`.

**Actual behaviour:** ServiceNotFoundException: The service "twig" has a dependency on a non-existent service "@bar".

Environment tested on:
- Symfony Standard Distribution 2.3.2
- OS X 10.8.4
- PHP 5.4.16