stan-dev / stanc3

The Stan transpiler (from Stan to C++ and beyond).
BSD 3-Clause "New" or "Revised" License
138 stars 44 forks source link

Reword some parser error messages #1417

Closed WardBrian closed 3 months ago

WardBrian commented 3 months ago

@mitzimorris rightly pointed out that users don't know or care what an L-value is, and we can be more specific than "There are many ways in which this can be completed to a valid phrase." - it is always going to be an expression followed by ;

Submission Checklist

Release notes

Clarified the error messages generated by a syntax error on the right side of an assignment statement.

Copyright and Licensing

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the BSD 3-clause license (https://opensource.org/licenses/BSD-3-Clause)