quickjs/tests
Charlie Gordon 59462214cb Improve column number tracking
- simplify column number tracking using a pointer to the beginning of line
  instead of `eol` + `mark`.
- add `js_parse_error_pos` to report syntax errors with exact source position
  for token parsing errors. This makes the syntax error reports much more precise.
  eg: exact position of UTF-8 encoding error, invalid escape sequence, etc.
- add `JSSourcePos` type to use single opaque object for token source position
- add `emit_pos` to set the precise source position in code generation
- change `emit_op` to no longer emit source positions from `s->last_line_num` and `s->last_col_num`.
- remove `last_line_num` and `last_col_num` `JSParserState` members
- runtime errors on calls report the column number of calling function or method name.
- runtime errors on `new` expressions report the column number of the `neẁ` keyword.
- do not show source position in backtrace if debug information is missing
- fix spurious parsing bugs when `js_parse_skip_parens_token` could not reparse
  the current token because of stack overflow detection.
- `js_parse_save_pos` now saves the current token and `js_parse_seek_back` always
  restores the token, hence never fails, while `js_parse_seek_token` reparses the
  saved token. This is needed to handle the weird semantics of `"\1"; "use strict";`
- simplify html comment detection
- update **tests/test_builtin,js** with more informative messages
- improve `assert()` and **tests/test_language.js** tests
- update **v8.txt** for updated column numbers in remaining errors
2024-05-27 11:15:52 +02:00
..
bjson.c Replace JSValueConst with JSValue (#195) 2023-12-10 15:15:42 +01:00
function_source.js Retain function source code in serialized bytecode (#218) 2023-12-16 01:01:26 +01:00
microbench.js Improve number to string conversions (#400) 2024-05-26 08:06:36 +02:00
test262.patch 2020-01-05 release 2020-09-06 18:53:08 +02:00
test_bigint.js Remove trailing whitespace (#46) 2023-11-12 10:01:40 +01:00
test_bjson.js Improve Date.parse (#289) 2024-03-10 10:34:26 +01:00
test_builtin.js Improve column number tracking 2024-05-27 11:15:52 +02:00
test_closure.js Remove trailing whitespace (#46) 2023-11-12 10:01:40 +01:00
test_conv.c Improve number to string conversions (#400) 2024-05-26 08:06:36 +02:00
test_language.js Simplify number parsing (#386) 2024-05-26 00:17:04 +02:00
test_loop.js Remove trailing whitespace (#46) 2023-11-12 10:01:40 +01:00
test_queue_microtask.js Add queueMicrotask 2023-11-21 23:43:17 +01:00
test_std.js Implement setInterval() (#338) 2024-03-30 09:36:38 +01:00
test_worker.js Refactor build system to use CMake only 2023-11-17 13:10:18 +01:00
test_worker_module.js Remove trailing whitespace (#46) 2023-11-12 10:01:40 +01:00