From fcea9ca32ca38b985a6b54f945f15fd4a7ad9006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Sun, 26 Apr 1998 04:39:45 -0700 Subject: [PATCH] sizeof is not a reserved word Rev: src/language.yacc:1.89 --- src/language.yacc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/language.yacc b/src/language.yacc index ccc5b93320..761ce41cd3 100644 --- a/src/language.yacc +++ b/src/language.yacc @@ -171,7 +171,7 @@ /* This is the grammar definition of Pike. */ #include "global.h" -RCSID("$Id: language.yacc,v 1.88 1998/04/24 00:34:55 hubbe Exp $"); +RCSID("$Id: language.yacc,v 1.89 1998/04/26 11:39:45 hubbe Exp $"); #ifdef HAVE_MEMORY_H #include <memory.h> #endif @@ -1776,8 +1776,6 @@ bad_expr_ident: { yyerror("lambda is a reserved word."); } | F_SSCANF { yyerror("sscanf is a reserved word."); } - | F_SIZEOF - { yyerror("sizeof is a reserved word."); } | F_SWITCH { yyerror("switch is a reserved word."); } | F_TYPEOF -- GitLab