Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

Without package declaration, a package named 'default package' is used. #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

roipoussiere
Copy link

This avoids ValueError when parsing Java files without package declaration.

test:

from javasphinx.apidoc import main as parse
parse(['', '-v', '-o', 'test_apidoc', 'test_project/src/test/java'])

from os import listdir
listdir('./test_apidoc')
> ['default package', 'packages.rst']

ref. PR on Javalang

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant