majintao0131 / yaml-cpp

Automatically exported from code.google.com/p/yaml-cpp
MIT License
0 stars 0 forks source link

Can't handle simple keys with aliases or tags #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following both cause yaml-cpp to choke

    &a b: c
    !a b: c

(it spits out the error "illegal map value").

The problem is that it invalidates the potential simple key that was
created at the `&a` token when it reaches the `b` token.

Original issue reported on code.google.com by jbe...@gmail.com on 5 Sep 2009 at 2:59

GoogleCodeExporter commented 9 years ago
Fixed (r240)

Original comment by jbe...@gmail.com on 5 Sep 2009 at 3:50