Skip to content

Show correct source of errors and warnings#14

Open
urbanserj wants to merge 2 commits intoten0s:masterfrom
urbanserj:filename
Open

Show correct source of errors and warnings#14
urbanserj wants to merge 2 commits intoten0s:masterfrom
urbanserj:filename

Conversation

@urbanserj
Copy link
Contributor

include.erl:

-module(include).
-include("bad.hrl").

bad.hrl:

-define(macros).

Output:

$ syntaxerl-old include.erl 
include.erl:1: badly formed 'define'
$ syntaxerl-new include.erl
bad.hrl:1: badly formed 'define' 

echo -e is not posix-compatible and doesn't work on bsd-like systems
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant