Improve source position in parsing warnings
Open
- Dominant language
- Lua
- Stars
- 80
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
A mere space error:
```
...
... some text {.class}
```
Yields a warning:
```
{
message = "Ignoring unattached attribute",
pos = 30
}
```
Where `pos` is the byte position.
When the sourcepos map is enabled, it would be handy to have the usual `line:col:charpos` in warnings, as we can have on nodes, for easier investigation by the typist.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.