Index: src/SynTree/AddressExpr.cc
===================================================================
--- src/SynTree/AddressExpr.cc	(revision 5408b5919f1f591121d6cdabf6c6b5e605e61e6b)
+++ src/SynTree/AddressExpr.cc	(revision 135143ba38d5df3714d828ffa8ea58edeedaf52e)
@@ -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
