Support for SyntaxResult
authorCamil Staps <info@camilstaps.nl>
Sun, 8 Oct 2017 13:13:19 +0000 (15:13 +0200)
committerCamil Staps <info@camilstaps.nl>
Sun, 8 Oct 2017 13:13:19 +0000 (15:13 +0200)
cloogleirc.icl
libcloogle

index 1241b7b..8f99a57 100644 (file)
@@ -86,6 +86,9 @@ cloogle data w
                                +++ toString (length class_funs) +++ " class functions"
                processResult (ModuleResult (br, _))
                        = "Module in " +++ br.library +++ ": " +++ br.modul
+               processResult (SyntaxResult (br, re))
+                       = "Clean syntax: " +++ re.syntax_title +++ "\n"
+                               +++ concat (intersperse "; " re.syntax_code)
 
                limitResults :: String -> String
                limitResults s
index d85bd3c..065ca49 160000 (submodule)
@@ -1 +1 @@
-Subproject commit d85bd3c5ccf6fdb82c8f62a08228cc8b6a0ac84f
+Subproject commit 065ca49b28e3c39bcbe4f69872302cec2a19850d