summaryrefslogtreecommitdiffstats
path: root/generic/tclAssembly.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-15 07:08:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-15 07:08:07 (GMT)
commit02ccd2a2ba84111c45dab93d4f3b80191e45108e (patch)
tree6518028407edba465c523492cb32bc3dd7f72fc0 /generic/tclAssembly.c
parent831e40a351cc05df4e170c4606d090020bd80b3a (diff)
parent6e2f02a5a6a694d1c1ad853307791acf1fd85c92 (diff)
downloadtcl-02ccd2a2ba84111c45dab93d4f3b80191e45108e.zip
tcl-02ccd2a2ba84111c45dab93d4f3b80191e45108e.tar.gz
tcl-02ccd2a2ba84111c45dab93d4f3b80191e45108e.tar.bz2
Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated in C++ (removed in C++17, even), and essentially does nothing with most modern compilers
Diffstat (limited to 'generic/tclAssembly.c')
-rw-r--r--generic/tclAssembly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclAssembly.c b/generic/tclAssembly.c
index e8ca9ca..8e2edcf 100644
--- a/generic/tclAssembly.c
+++ b/generic/tclAssembly.c
@@ -853,7 +853,7 @@ CompileAssembleObj(
Interp *iPtr = (Interp *) interp;
/* Internals of the interpreter */
CompileEnv compEnv; /* Compilation environment structure */
- register ByteCode *codePtr = NULL;
+ ByteCode *codePtr = NULL;
/* Bytecode resulting from the assembly */
Namespace* namespacePtr; /* Namespace in which variable and command
* names in the bytecode resolve */