nitrogen / simple_bridge

A simple, standardized interface library to Erlang HTTP Servers.
MIT License
112 stars 76 forks source link

updated for Erlang 27 #85

Closed bunnylushington closed 3 months ago

bunnylushington commented 3 months ago

There is an issue with using else as a macro name in Erlang 27.0. (I think it conflicts with maybe ... else.)

To wit:

#13 38.18 src/simple_bridge_websocket.erl:19:9: badly formed 'define'
#13 38.18 src/simple_bridge_websocket.erl:69:10: illegal macro call '?'else''
#13 38.18 src/simple_bridge_websocket.erl:405:16: illegal macro call '?'else''

This PR simply changes ?else to ?otherwise.

choptastic commented 3 months ago

Looks good. Thanks!