summaryrefslogtreecommitdiff
path: root/ale_linters/text
diff options
context:
space:
mode:
authorD. Ben Knoble <ben.knoble+github@gmail.com>2020-10-01 12:49:53 -0400
committerD. Ben Knoble <ben.knoble+github@gmail.com>2020-10-01 12:49:53 -0400
commitabe1440268799fd9fba38c71b8423f988523678e (patch)
treebb5ca8f8d6b48d5f285bc9efa1fd7ec3b5ad4f0c /ale_linters/text
parent08295ce17405cb5f6c80d2f726262493bfd21210 (diff)
downloadale-abe1440268799fd9fba38c71b8423f988523678e.zip
prolog/swipl: update error format for new version
A recent(?) update to swipl changed the error format from Warning: some.pl:2: Singleton variables: [Y] to Warning: some.pl:2: Warning: Singleton variables: [Y] The old error handler doesn't report the correct line numbers and messages on the old format. I've chosen to add a function that covers the second case and detect it, rather than rewrite the current function. This way, both versions should be able to live together. --- Example file that demonstrates the issue (some.pl above): ``` % vim: ft=prolog ii(X, Y) :- X. ``` ---
Diffstat (limited to 'ale_linters/text')
0 files changed, 0 insertions, 0 deletions