wbond / pybars3

Handlebars.js template support for Python 3 and 2
GNU Lesser General Public License v3.0
179 stars 46 forks source link

Improve error parsing and reporting #28

Closed isaacdd closed 8 years ago

isaacdd commented 8 years ago

1- Report an error whenever parse position < source length 2- Do not use underlying OMeta error reason because it is not helpful 3- Extract the word where the parsing error occurred and report it 4- Update a test and add more for error validation