Skip to content

comment handling not working as in modules 3 #402

@wenzler

Description

@wenzler

Describe the bug

Comments are not supported like they were in modules 3

To Reproduce

Steps to reproduce the behavior:

Have module with something like
setenv foo bar # comment

Expected behavior

No error

Error and debugging information

Module ERROR: wrong # args: should be "setenv var val"
      invoked from within
  "setenv          MGC_BIN         $mgc_home/bin                   #comment"
...

Additional context

Tested with modules 4.5.2 and 4.7.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions