Skip to content

Commit

Permalink
Merge pull request #365 from mstreeter10/udb
Browse files Browse the repository at this point in the history
udb: Symtab fail on lookup if src file not available
  • Loading branch information
Jafaral authored Mar 2, 2024
2 parents 241d87b + 2ba577f commit e407e17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions uni/udb/symtab.icn
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,8 @@ method lookup_fileline(filename, lineno)
local symt, temp

if \filename & \lineno then {
if not member(filetab, filename) then fail

line := numeric(lineno)

# check for packages, package is a single file
Expand Down

0 comments on commit e407e17

Please sign in to comment.