summaryrefslogtreecommitdiff
path: root/gcc/doc/melt.texi
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-08 12:23:06 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-08 12:23:06 +0000
commit68add4a5cff1552ab4c36679f5e0d75dae1d24ab (patch)
treef8ff2f1b9070d42b86d40169df71cd1ecf34e38d /gcc/doc/melt.texi
parenta97085881e7e476cb00018f43250a771d0cd6bbb (diff)
downloadgcc-68add4a5cff1552ab4c36679f5e0d75dae1d24ab.tar.gz
2011-04-08 Basile Starynkevitch <basile@starynkevitch.net>
* melt-runtime.c (meltgc_make_load_melt_module): Don't check module name when MELTLOADFLAG_CURDIR. (load_melt_modules_and_do_mode): Added better MELT_LOCATION_HERE etc. Move extra module handler so it works. * doc/melt.texi (Invoking MELT): Document -fmelt-extra. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@172179 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/melt.texi')
-rw-r--r--gcc/doc/melt.texi17
1 files changed, 13 insertions, 4 deletions
diff --git a/gcc/doc/melt.texi b/gcc/doc/melt.texi
index 637e91bf497..80ec9f425f3 100644
--- a/gcc/doc/melt.texi
+++ b/gcc/doc/melt.texi
@@ -1,4 +1,4 @@
-@c Copyright (c) 2008,2009,2010 Free Software Foundation, Inc.
+@c Copyright (c) 2008,2009,2010,2011 Free Software Foundation, Inc.
@c Free Software Foundation, Inc.
@c This is part of the GCC manual.
@c For copying conditions, see the file gcc.texi.
@@ -339,9 +339,18 @@ would have the same effect as @code{-fmelt-init=alpha:beta:bar}.
Notice that modules are seeked in several directories. The notation
@code{@@@@} is a shorthand for the default module list called
@file{melt-default-modules.modlis} and is the default value of this
-flag. In practice, to use your own MELT module @code{foo} you should
-pass @code{-fmelt-init=@@@@:foo} because your module needs the default
-modules.
+flag.
+
+@item -fmelt-extra=
+@gccoptlist{-fplugin-arg-melt-extra=}
+@opindex fmelt-extra=
+@opindex fplugin-arg-melt-extra=
+This flag sets the extra MELT modules. They are separated by
+semi-colons or (on Unix only) colons. Extra modules are also searched
+in the current directory, and are loaded after processing of MELT
+options. In practice, to use your own MELT module @code{foo} you
+should pass @code{-fmelt-extra=foo} because your module needs the
+default modules.
@item -fmelt-single-c-file
@gccoptlist{-fplugin-arg-melt-single-c-file=yes}