Skip to content

troff:ono.tmac:336: warning: name '$*' not defined [-w mac] #4

Description

@g-branden-robinson
$ nl ono.tmac | sed -n 332,342p
   332  .\" Clobbers:
   333  .\"     \*(*^B
   334  .de *
   335  .       br
   336  \h'-\\n(*~u-\\w,\\*(*%,u'\\*(*%\h'\\n(*~u'\*($*
   337  .       ds * \\g*
   338  .       af * 1
   339  .       nr * \\n*+1
   340  .       af * \\*(*
   341  .       rm *
   342  ..

Is this code doing what you intend? I see that a *% string is defined on line 312 (and potentially redefined in a "callback" on line 383), but nothing removes it, which suggests to me that that the * string can get interpolated before the package is prepared for it.

If this report is spurious, then you might do the .as * \" empty trick to silence the warning as in Issue #3.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions