Skip to content

Why can not use -o and -p at the same time? #94

@OhYee

Description

@OhYee

I find that when I use gocc -p xxxx/xxxx -o ./analysis xxx.bnf, the package is still the default value.

It seems that because these lines.

this.outDir = getOutDir(this.outDir, this.workingDir)
if this.outDir != this.workingDir {
this.pkg = defaultPackage(this.outDir)
}

If I use -o and -p together, is there any possiable problems?

I just want to put the .bnf file in a single folder.

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