Error when an expression is used outside of a macro

An error is now raised whenever an expression is used outside of a macro.