summaryrefslogtreecommitdiff
path: root/source/compiler/aslcompiler.l
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2013-01-17 21:32:03 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2013-01-17 21:32:03 +0000
commitee39d6d85cfcfa8e856c410c0ad4cd96e8fded55 (patch)
tree4bd397d55198bfd01fc6744430f25faf08f18b0c /source/compiler/aslcompiler.l
parentb28e481ae9b051dab150e9b5a89730cdc1103a9c (diff)
Notes
Diffstat (limited to 'source/compiler/aslcompiler.l')
-rw-r--r--source/compiler/aslcompiler.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/compiler/aslcompiler.l b/source/compiler/aslcompiler.l
index 872063192982..3d5488d39e62 100644
--- a/source/compiler/aslcompiler.l
+++ b/source/compiler/aslcompiler.l
@@ -6,7 +6,7 @@
*****************************************************************************/
/*
- * Copyright (C) 2000 - 2012, Intel Corp.
+ * Copyright (C) 2000 - 2013, Intel Corp.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -201,7 +201,7 @@ NamePathTail [.]{NameSeg}
"Mutex" { count (2); return (PARSEOP_MUTEX); }
"Name" { count (2); return (PARSEOP_NAME); }
"NAnd" { count (3); return (PARSEOP_NAND); }
-"Noop" { count (3); return (PARSEOP_NOOP); }
+"Noop" { if (!AcpiGbl_IgnoreNoopOperator) {count (3); return (PARSEOP_NOOP);} }
"NOr" { count (3); return (PARSEOP_NOR); }
"Not" { count (3); return (PARSEOP_NOT); }
"Notify" { count (3); return (PARSEOP_NOTIFY); }