src/variables.cc

changeset 86
43fe4be38a58
parent 85
264a61e9eba0
child 87
8f65914e7046
--- a/src/variables.cc	Sun Jan 19 20:39:30 2014 +0200
+++ b/src/variables.cc	Sun Jan 26 23:18:48 2014 +0200
@@ -29,7 +29,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include "object_writer.h"
 #include "stringtable.h"
 #include "variables.h"
 #include "parser.h"
@@ -50,9 +49,6 @@
 	if (find_command_by_name (name))
 		error ("name of variable-to-be `%s` conflicts with that of a command", name.chars());
 
-	if (IsKeyword (name))
-		error ("name of variable-to-be `%s` is a keyword", name.chars());
-
 	if (g_GlobalVariables.size() >= g_max_global_vars)
 		error ("too many global variables!");
 

mercurial