summaryrefslogtreecommitdiff
path: root/parser.y
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-08-15 19:02:03 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-08-19 17:41:39 +0200
commitd332911d06061a79f0c14831ff5257c50a898665 (patch)
tree01254294ad4190325d7c9e8d9e88986ed45199ee /parser.y
parent6f25b12e5e32876480e4965e3b61cffb3f7499e2 (diff)
Drop the register keyword
Drop the register keyword both from MIGs code and from the generated code. The register keyword is only a hint and it is ignored by modern compilers. * alloca.c: Drop the register keyword. * header.c: Likewise. * lexxer.l: Likewise. * parser.y: Likewise. * routine.c: Likewise. * server.c: Likewise. * statement.c: Likewise. * string.c: Likewise. * type.c: Likewise. * user.c: Likewise. * utils.c: Likewise. * vprint.c: Likewise.
Diffstat (limited to 'parser.y')
-rw-r--r--parser.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/parser.y b/parser.y
index ade56be..a916cb3 100644
--- a/parser.y
+++ b/parser.y
@@ -172,7 +172,7 @@ Statement : Subsystem sySemi
| TypeDecl sySemi
| RoutineDecl sySemi
{
- register statement_t *st = stAlloc();
+ statement_t *st = stAlloc();
st->stKind = skRoutine;
st->stRoutine = $1;
@@ -305,7 +305,7 @@ ServerDemux : syServerDemux syIdentifier
Import : LookFileName ImportIndicant syFileName
{
- register statement_t *st = stAlloc();
+ statement_t *st = stAlloc();
st->stKind = $2;
st->stFileName = $3;
@@ -331,7 +331,7 @@ RCSDecl : LookQString syRCSId syQString
TypeDecl : syType NamedTypeSpec
{
- register identifier_t name = $2->itName;
+ identifier_t name = $2->itName;
if (itLookUp(name) != itNULL)
warn("overriding previous definition of %s", name);