Index: compilers/imcc/imcc.y
===================================================================
--- compilers/imcc/imcc.y	(revision 26731)
+++ compilers/imcc/imcc.y	(working copy)
@@ -891,7 +891,9 @@
 
 maybe_ns:
      '[' keylist ']'           { $$ = $2; }
+   | '[' ']'                   { $$ = NULL; }
    |                           { $$ = NULL; }
+
    ;
 
 sub:
