From ab6bb0ab817f66f1e7e5f457e98e9b1f4b13886f Mon Sep 17 00:00:00 2001 From: Don Clugston Date: Wed, 4 Apr 2012 13:59:47 +0200 Subject: [PATCH] D1 doesn't have typeof(return) --- declaration.dd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/declaration.dd b/declaration.dd index e1ffadb182..58f9464fbb 100644 --- a/declaration.dd +++ b/declaration.dd @@ -541,7 +541,9 @@ b = 4; // sets S.i to 4 $(GRAMMAR $(GNAME Typeof): $(B typeof $(LPAREN)) $(EXPRESSION) $(B $(RPAREN)) +$(V2 $(B typeof $(LPAREN)) $(B return) $(B $(RPAREN)) +) ) $(P