[erlang-questions] Erlang PP Question

Wed May 30 12:40:52 CEST 2012

"Kannan" <vasdeveloper@REDACTED> wrote

> If -define does just string replacement,

It doesn't perform string replacement, never has done,
and was never intended to.  Like the (ANSI) C preprocessor,
it performs TOKEN sequence replacement.

If you happen to want string replacement,
there's the UNIX m4 command, with a GNU version and a
faster PDm4.

More information about the erlang-questions mailing list