Here's a little fix for the awesome ani-fcsh.el mode for Emacs that let's you efficiently compile Flex in Emacs. For me on Emacs 23, ani-fcsh.el wouldn't restore compile correctly, this fixes it.
(defun fcsh-restore-compile ()
"See `fcsh-compile', `*fcsh-compile-active*' for more info."
(setq *fcsh-compile-active* nil)
(fset 'compilation-start (symbol-function '*fcsh-compile-old-compilation-start*))