Index: src/SynTree/AddressExpr.cc
===================================================================
--- src/SynTree/AddressExpr.cc	(revision 5408b5919f1f591121d6cdabf6c6b5e605e61e6b)
+++ src/SynTree/AddressExpr.cc	(revision d191e246fd6d1f8e4ff7e7d8cafe22bbd3d09639)
@@ -50,4 +50,5 @@
 				set_result( addrType( refType->base ) );
 			} else {
+				if(!arg->result->location.isSet()) arg->result->location = arg->location;
 				SemanticError( arg->result, "Attempt to take address of non-lvalue expression: " );
 			} // if
