Adjust locations of results in JSP files. This is necessary due to known limitations in VSCode which cause locations with zero character indices to be mapped to invalid ranges. This is hopefully a temporary workaround until this problem has been properly addressed.

This commit is contained in:
Sebastian Bauersfeld
2021-10-07 12:45:21 +07:00
parent d8d9073bc2
commit f651bc3668

View File

@@ -52,6 +52,6 @@ predicate hasSmapLocationInfo(
smap(inputFile, isl, outputFile, osl) and
smap(inputFile, iel - 1, outputFile, oel) and
isc = 1 and
iec = 0
iec = 1
)
}