aboutsummaryrefslogtreecommitdiff
path: root/lexxer.l
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2016-03-15 05:31:41 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-03-20 00:21:02 +0100
commit7f10b4ed6a557b7a1fd1083939156a3dcf8b377e (patch)
tree9067ea000d67fd1622c1ef6160205b7154e9260d /lexxer.l
parent90963b533e0e8c1dccfcf79afe55d6b0a9c55d79 (diff)
downloadmig-7f10b4ed6a557b7a1fd1083939156a3dcf8b377e.tar.gz
mig-7f10b4ed6a557b7a1fd1083939156a3dcf8b377e.tar.bz2
mig-7f10b4ed6a557b7a1fd1083939156a3dcf8b377e.zip
Remove functions, procedures and simple procedures.
This has been tested by cross-compiling a base Hurd system to make sure these kinds of routines are no longer used. * lexxer.l: Remove tokens. * parser.y: Remove token types and production rules. * routine.c: Remove rtMakeProcedure, rtMakeSimpleProcedure, rtMakeFunction. * routine.h: Remove enum values rkSimpleProcedure, rkProcedure, rkFunction. Remove dead fields from struct routine. * user.c: Simplify and remove dead code.
Diffstat (limited to 'lexxer.l')
-rw-r--r--lexxer.l3
1 files changed, 0 insertions, 3 deletions
diff --git a/lexxer.l b/lexxer.l
index 06b04e2..bd7a718 100644
--- a/lexxer.l
+++ b/lexxer.l
@@ -108,9 +108,6 @@ static void doSharp(const char *body); /* process body of # directives */
%%
<Normal>(?i:routine) RETURN(syRoutine);
-<Normal>(?i:function) RETURN(syFunction);
-<Normal>(?i:procedure) RETURN(syProcedure);
-<Normal>(?i:simpleprocedure) RETURN(sySimpleProcedure);
<Normal>(?i:simpleroutine) RETURN(sySimpleRoutine);
<Normal>(?i:subsystem) RETURN(sySubsystem);
<Normal>(?i:msgoption) RETURN(syMsgOption);