* data/glr.cc: New.

* data/m4sugar/m4sugar.m4 (m4_prepend): New.
This commit is contained in:
Akim Demaille
2005-11-14 08:13:07 +00:00
parent 5059b5c887
commit 422494834c
4 changed files with 333 additions and 5 deletions

View File

@@ -1515,6 +1515,12 @@ m4_define([m4_append],
[m4_define([$1],
m4_ifdef([$1], [m4_defn([$1])$3])[$2])])
# m4_prepend(MACRO-NAME, STRING, [SEPARATOR])
# -------------------------------------------
# Same, but prepend.
m4_define([m4_prepend],
[m4_define([$1],
[$2]m4_ifdef([$1], [$3[]m4_defn([$1])]))])
# m4_append_uniq(MACRO-NAME, STRING, [SEPARATOR])
# -----------------------------------------------