Skip to content

Commit

Permalink
Handle failure to parse module call
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeterv committed Jul 1, 2016
1 parent 3798cb4 commit 1dfcf2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldoc/parse.lua
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ local function parse_file(fname, lang, package, args)
--return nil
else
mod,t,v = lang:parse_module_call(tok,t,v)
if mod ~= '...' then
if mod and mod ~= '...' then
add_module(Tags.new{summary='(no description)'},mod,true)
first_comment = false
module_found = true
Expand Down

0 comments on commit 1dfcf2e

Please sign in to comment.