Improve error messages

* Print location on parser errors.
 * Do not print messages on parse error if FEATURE_ERROR_MESSAGES is not set.
 * Minor style fixes

JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
László Langó
2016-09-05 09:39:03 +02:00
parent cf94a25753
commit 5c330d7f8e
6 changed files with 98 additions and 21 deletions
+2 -2
View File
@@ -62,8 +62,8 @@ class Options:
# Test options for unittests
jerry_unittests_options = [
Options('unittests', ['--unittests']),
Options('unittests-debug', ['--unittests', '--debug']),
Options('unittests', ['--unittests', '--error-messages=on']),
Options('unittests-debug', ['--unittests', '--debug', '--error-messages=on']),
]
# Test options for jerry-tests