Index: src/SynTree/AddressExpr.cc
===================================================================
--- src/SynTree/AddressExpr.cc	(revision e874605d8b0f66ad6050e4d03825b57912afe8ac)
+++ src/SynTree/AddressExpr.cc	(revision 93d2219a70113e973cd8ff2d973d1fdec40ac805)
@@ -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
