summaryrefslogtreecommitdiffstats
path: root/generic/tclGetDate.y
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-14 06:42:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-14 06:42:58 (GMT)
commitc9376306301e578615cfee52d2121f78cb31a225 (patch)
treeb80d507267bc38923d21ef904af4a227e2f4909d /generic/tclGetDate.y
parent343b0349d4d4b41ca86832298dead909b1ef055d (diff)
downloadtcl-c9376306301e578615cfee52d2121f78cb31a225.zip
tcl-c9376306301e578615cfee52d2121f78cb31a225.tar.gz
tcl-c9376306301e578615cfee52d2121f78cb31a225.tar.bz2
Remove "register" keyword in various places. Also add some type-casts to help C++ compatibility.
Diffstat (limited to 'generic/tclGetDate.y')
-rw-r--r--generic/tclGetDate.y10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclGetDate.y b/generic/tclGetDate.y
index d67c32a..3b6134c 100644
--- a/generic/tclGetDate.y
+++ b/generic/tclGetDate.y
@@ -765,9 +765,9 @@ LookupWord(
YYSTYPE* yylvalPtr,
char *buff)
{
- register char *p;
- register char *q;
- register const TABLE *tp;
+ char *p;
+ char *q;
+ const TABLE *tp;
int i, abbrev;
/*
@@ -890,8 +890,8 @@ TclDatelex(
YYLTYPE* location,
DateInfo *info)
{
- register char c;
- register char *p;
+ char c;
+ char *p;
char buff[20];
int Count;