diff options
Diffstat (limited to 'source/compiler/dtutils.c')
-rw-r--r-- | source/compiler/dtutils.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/source/compiler/dtutils.c b/source/compiler/dtutils.c index bb07894e28134..55093a7676a61 100644 --- a/source/compiler/dtutils.c +++ b/source/compiler/dtutils.c @@ -186,11 +186,20 @@ DtError ( DT_FIELD *FieldObject, char *ExtraMessage) { + UINT32 Line = 0; + + + /* Field object could be NULL */ + + if (FieldObject) + { + Line = FieldObject->Line; + } /* Check if user wants to ignore this exception */ if (AslIsExceptionIgnored (AslGbl_Files[ASL_FILE_INPUT].Filename, - FieldObject->Line, Level, MessageId)) + Line, Level, MessageId)) { return; } |