Skip to content

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