X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/8cb6370effd9f2dacc6dc9b662a43ea19ee637ac..2310330e7d4d724bf6641339836be8523f95c916:/src/parse.y diff --git a/src/parse.y b/src/parse.y index 7648232..46fdf6e 100644 --- a/src/parse.y +++ b/src/parse.y @@ -528,12 +528,7 @@ funcargs: VOID { vararg = FALSE; has_self = FALSE; } | TOKEN { vararg = FALSE; has_self = TRUE; - if(strcmp($1,"this")==0) { - push_self($1); - print_error(TRUE,_("Use of 'this' is " - "depreciated, use 'self' " - "instead"),line_no); - } else if(strcmp($1,"self")==0) + if(strcmp($1,"self")==0) push_self($1); else { g_free($1); @@ -543,12 +538,7 @@ funcargs: VOID { vararg = FALSE; has_self = FALSE; } } | TOKEN ',' arglist { has_self = TRUE; - if(strcmp($1,"this")==0) { - push_self($1); - print_error(TRUE,_("Use of 'this' is " - "depreciated, use 'self' " - "instead"),line_no); - } else if(strcmp($1,"self")==0) + if(strcmp($1,"self")==0) push_self($1); else { g_free($1);