]> granicus.if.org Git - jq/commit
Change order of evaluation for certain indexing operations.
authorStephen Dolan <mu@netsoc.tcd.ie>
Fri, 7 Dec 2012 00:26:00 +0000 (00:26 +0000)
committerStephen Dolan <mu@netsoc.tcd.ie>
Fri, 7 Dec 2012 00:28:11 +0000 (00:28 +0000)
commit84026f051347a6c6668e70d120905beee0192535
tree8bef2c846265348dad9dd9771586b13aefdb485e
parentc0a2f1ab470595d85fd20a643325a16737433a2a
Change order of evaluation for certain indexing operations.

'.foo[.bar]' used to parse like '.foo | .bar as $b | .[$b]',
now it parses like '.bar as $b | .foo | .[$b]'.
parser.y
testdata