Created
July 28, 2012 14:11
-
-
Save johnfredcee/3193552 to your computer and use it in GitHub Desktop.
Flymake for Unrealscript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defcustom udk-location "C:\\UDK\\UDK-2012-05\\" | |
| "Directory where udk executables are found" | |
| :type 'directory | |
| :group 'udk) | |
| (defun flymake-unrealscript-init () | |
| (setq flymake-base-dir udk-location) | |
| (list (concat udk-location "\\Binaries\\Win32\\UDK.com") '("make" "-debug"))) | |
| (defun flymake-unrealscript-cleanup () | |
| ;; nothing to do | |
| ) | |
| (defun flymake-unrealscript-getfn (filename) | |
| filename) | |
| (setq flymake-allowed-file-name-masks | |
| (cons '(".+\\.uc$" | |
| flymake-unrealscript-init | |
| flymake-unrealscript-cleanup | |
| flymake-unrealscript-getfn) | |
| flymake-allowed-file-name-masks)) | |
| (setq flymake-err-line-patterns | |
| (cons '("^\\(.+\\)(\\([0-9]+\\)) : Error,\\(.+\\)" | |
| 1 2 nil 3) | |
| flymake-err-line-patterns)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment