chiark / gitweb /
gpgscm: Guard use of union member.
[gnupg2.git] / tests / gpgscm / scheme.c
index a5b7691fb28c224c351df2c77757fe1492607fc0..2844545573100569faf761ea901d20814054174d 100644 (file)
@@ -4838,7 +4838,7 @@ static pointer opexe_5(scheme *sc, enum scheme_opcodes op) {
                } else {
                     sc->nesting_stack[sc->file_i]++;
 #if USE_TAGS && SHOW_ERROR_LINE
-                   {
+                   if (sc->load_stack[sc->file_i].kind & port_file) {
                      const char *filename =
                        sc->load_stack[sc->file_i].rep.stdio.filename;
                      int lineno =