[project @ 2004-03-08 11:20:53 by simonmar]
[ghc-hetmet.git] / ghc / compiler / parser / Lexer.x
index 2d01a18..c90e934 100644 (file)
@@ -124,6 +124,7 @@ $white_no_nl+                               ;
   \n                                   ;
   ^\# (line)?                          { begin line_prag1 }
   ^\# pragma .* \n                     ; -- GCC 3.3 CPP generated, apparently
+  ^\# \! .* \n                         ; -- #!, for scripts
   ()                                   { do_bol }
 }