Skip to content

Commit

Permalink
udb: Symtab fail on lookup if src file not available
Browse files Browse the repository at this point in the history
Signed-off-by: Maximus Streeter <[email protected]>
  • Loading branch information
Maximus Streeter committed Feb 29, 2024
1 parent 4f40829 commit 2ba577f
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 2ba577f

Please sign in to comment.