DynamoDS/Dynamo — pull request #3042 by aparajit-pratap (2014-11-12 06:01:38+00:00)
Title: Parser changes to handle non-assignment DS statements consistently

This PR includes changes to the DS parser to handle non-assignment statements in a consistent manner. This fixes long standing issues in parsing code block nodes such as statements like `a+b;` and non-assigned inline conditionals such as: `foo(a) ? a : b;` and `x%2 == 0 ? a : b;`

I have basically introduced a look-ahead utility function called `IsNonAssignmentStatement` that handles statements without a left-hand side identifier separately using a new `Associative_NonAssignmentStatement` production.

@junmendoza @ke-yu please review