summaryrefslogtreecommitdiff
path: root/ghc/compiler/parser/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/compiler/parser/util.c')
-rw-r--r--ghc/compiler/parser/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ghc/compiler/parser/util.c b/ghc/compiler/parser/util.c
index 0b8c765cfc..6c0ebfb7d1 100644
--- a/ghc/compiler/parser/util.c
+++ b/ghc/compiler/parser/util.c
@@ -102,6 +102,7 @@ error(s)
exit(1);
}
+/* lconc l1 l2 appends l2 to the end of l1 */
list
lconc(l1, l2)
list l1;
@@ -117,6 +118,7 @@ lconc(l1, l2)
return(l1);
}
+/* lapp( l, x ) appends [x] to the end of list l */
list
lapp(list l1, VOID_STAR l2)
{