Code

frontend/grammar: Fixed parsing of 'attribute[<string>]'.
authorSebastian Harl <sh@tokkee.org>
Sun, 19 Oct 2014 15:24:50 +0000 (17:24 +0200)
committerSebastian Harl <sh@tokkee.org>
Sun, 19 Oct 2014 15:24:50 +0000 (17:24 +0200)
commit6851612d3942135a7d6febc7d70bd34b7ab6cfc5
treee19b4401baaac2e8bbbc20dabcc09bbe7f30a62a
parent9a70712af541f43df7a2fb0b31442bec587eba8d
frontend/grammar: Fixed parsing of 'attribute[<string>]'.

That is, don't accept anything besides the string "attribute". Previously,
<anything>[<string>] was accepted as an attribute value.
src/frontend/grammar.y
t/unit/frontend/parser_test.c