]> git.draconx.ca Git - gob-dx.git/blobdiff - src/parse.y
Release 0.90.4
[gob-dx.git] / src / parse.y
index 7648232b808c5eeea23a653c3aea2b7825840677..46fdf6ef17686abde31e4047c16e2adab0d52620 100644 (file)
@@ -528,12 +528,7 @@ funcargs:  VOID                    { vararg = FALSE; has_self = FALSE; }
        |       TOKEN                   {
                        vararg = FALSE;
                        has_self = TRUE;
-                       if(strcmp($<id>1,"this")==0) {
-                               push_self($<id>1);
-                               print_error(TRUE,_("Use of 'this' is "
-                                                  "depreciated, use 'self' "
-                                                  "instead"),line_no);
-                       } else if(strcmp($<id>1,"self")==0)
+                       if(strcmp($<id>1,"self")==0)
                                push_self($<id>1);
                        else {
                                g_free($<id>1);
@@ -543,12 +538,7 @@ funcargs:  VOID                    { vararg = FALSE; has_self = FALSE; }
                                                }
        |       TOKEN ',' arglist       {
                        has_self = TRUE;
-                       if(strcmp($<id>1,"this")==0) {
-                               push_self($<id>1);
-                               print_error(TRUE,_("Use of 'this' is "
-                                                  "depreciated, use 'self' "
-                                                  "instead"),line_no);
-                       } else if(strcmp($<id>1,"self")==0)
+                       if(strcmp($<id>1,"self")==0)
                                push_self($<id>1);
                        else {
                                g_free($<id>1);