Index: scanner.l
===================================================================
--- scanner.l	(revision 636)
+++ scanner.l	(working copy)
@@ -801,6 +801,14 @@
 					  else
 					    REJECT;
 					}
+<FindMembers>"@{C++" { // Mozilla XPIDL language-specific block
+            if (!insideIDL)
+              REJECT;
+          }
+<FindMembers>"@}"     { // Mozilla XPIDL language-specific block end
+            if (!insideIDL)
+              REJECT;
+          }
 <FindMembers>{B}*("properties"){BN}*":"{BN}*  { // IDL or Borland C++ builder property 
   					  current->mtype = mtype = Property;
 					  current->protection = protection = Public ;
