diff --git a/cabal-plugin/src/Distribution/Simple/UUAGC/AbsSyn.hs b/cabal-plugin/src/Distribution/Simple/UUAGC/AbsSyn.hs
--- a/cabal-plugin/src/Distribution/Simple/UUAGC/AbsSyn.hs
+++ b/cabal-plugin/src/Distribution/Simple/UUAGC/AbsSyn.hs
@@ -126,6 +126,9 @@
 fromUUAGCOtoArgs (UForceIrrefutable fp) = toLEOpA oforceirrefutable fp
 fromUUAGCOtoArgs UOptimize              = toLOp ooptimize
 fromUUAGCOtoArgs UModuleDefault         = toLOp omodule
+fromUUAGCOtoArgs UHaskellSyntax         = toLOp ohaskellsyntax
+fromUUAGCOtoArgs UDoubleColons          = toLOp odoublecolons
+fromUUAGCOtoArgs ULCKeyWords            = toLOp olckeywords
 
 fromUUAGCOstoArgs :: UUAGCOptions -> [String]
 fromUUAGCOstoArgs = map fromUUAGCOtoArgs
diff --git a/cabal-plugin/src/Distribution/Simple/UUAGC/Parser.hs b/cabal-plugin/src/Distribution/Simple/UUAGC/Parser.hs
--- a/cabal-plugin/src/Distribution/Simple/UUAGC/Parser.hs
+++ b/cabal-plugin/src/Distribution/Simple/UUAGC/Parser.hs
@@ -27,7 +27,7 @@
             ,UWErrors, UWIgnore, UDumpGrammar, UDumpCGrammar, UGenTraces
             ,UGenUseTraces, UGenCostCentres, UGenLinePragmas, USepSemMods
             ,UGenFileDeps, UGenVisage, UGenAttrList, ULCKeyWords
-            ,UDoubleColons ]
+            ,UDoubleColons, USelf ]
 
 gFlags = [(oall, [odata, ocatas, osemfuns, osignatures, opretty, orename])
          ,(ooptimize, [ovisit,ocase])
diff --git a/cabal-plugin/src/Distribution/Simple/UUAGC/UUAGC.hs b/cabal-plugin/src/Distribution/Simple/UUAGC/UUAGC.hs
--- a/cabal-plugin/src/Distribution/Simple/UUAGC/UUAGC.hs
+++ b/cabal-plugin/src/Distribution/Simple/UUAGC/UUAGC.hs
@@ -80,12 +80,14 @@
       isModeOption UDoubleColons  = True
       isModeOption _              = False
   
+      args = fromUUAGCOstoArgs modeOpts ++
+             [ "--genfiledeps"
+             , "--="++(intercalate ":" sp)
+             , f
+             ]
+  -- putStrLn ("Generating deps: " ++ unwords args)
   (_,(Just ppOutput), (Just ppError),ph) <- createProcess
-                                            $ (proc uuagcn ( fromUUAGCOstoArgs modeOpts
-                                                           ++ ["--genfiledeps"
-                                                           ,"--="++(intercalate ":" sp)
-                                                           ,f
-                                                           ]))
+                                            $ (proc uuagcn args)
                                                   { std_in  = Inherit
                                                   , std_out = CreatePipe
                                                   , std_err = CreatePipe
diff --git a/src/Version.hs b/src/Version.hs
--- a/src/Version.hs
+++ b/src/Version.hs
@@ -1,4 +1,4 @@
 module Version where
 
 banner :: String
-banner = "Attribute Grammar compiler / HUT project. Version 0.9.27"
+banner = "Attribute Grammar compiler / HUT project. Version 0.9.28"
diff --git a/uuagc.cabal b/uuagc.cabal
--- a/uuagc.cabal
+++ b/uuagc.cabal
@@ -1,7 +1,7 @@
 cabal-version: >=1.2
 build-type: Simple
 name: uuagc
-version: 0.9.27
+version: 0.9.28
 license: GPL
 license-file: LICENSE
 maintainer: Arie Middelkoop <ariem@cs.uu.nl>
diff --git a/uuagc.cabal-for-ghc-6.6 b/uuagc.cabal-for-ghc-6.6
--- a/uuagc.cabal-for-ghc-6.6
+++ b/uuagc.cabal-for-ghc-6.6
@@ -1,5 +1,5 @@
 name: uuagc
-version: 0.9.27
+version: 0.9.28
 license: GPL
 license-file: LICENSE
 maintainer: Arie Middelkoop <ariem@cs.uu.nl>
