aboutsummaryrefslogtreecommitdiff
path: root/source/compiler/asltransform.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/asltransform.c')
-rw-r--r--source/compiler/asltransform.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/compiler/asltransform.c b/source/compiler/asltransform.c
index 8de5ba18c30c..e504220839af 100644
--- a/source/compiler/asltransform.c
+++ b/source/compiler/asltransform.c
@@ -350,7 +350,11 @@ TrTransformSubtree (
case PARSEOP_EXTERNAL:
- ExDoExternal (Op);
+ if (Gbl_DoExternals == TRUE)
+ {
+ ExDoExternal (Op);
+ }
+
break;
default: