开发者

Why undefine failed in m4?

开发者 https://www.devze.com 2022-12-09 14:24 出处:网络
define(foo,0000) foo 0000 undefine(\'foo\') foo 0000 开发者_StackOverflow社区 thanks. jcyang.You have to quote foo with a backtick in front and a single-quote after in order to undefine it.Ot

define(foo,0000)

foo

0000

undefine('foo')

foo

0000

开发者_StackOverflow社区


thanks.

jcyang.


You have to quote foo with a backtick in front and a single-quote after in order to undefine it. Otherwise, it winds up substituted and you undefine 0000. So:

undefine(`foo')
0

精彩评论

暂无评论...
验证码 换一张
取 消