"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/ShellCheck/Formatter/CheckStyle.hs" between
shellcheck-0.8.0.tar.gz and shellcheck-0.9.0.tar.gz

About: ShellCheck is a static analysis and linting tool for sh/bash scripts (written in Haskell).

CheckStyle.hs  (shellcheck-0.8.0):CheckStyle.hs  (shellcheck-0.9.0)
skipping to change at line 90 skipping to change at line 90
attr "severity" "error", attr "severity" "error",
attr "message" error, attr "message" error,
attr "source" "ShellCheck", attr "source" "ShellCheck",
"/>\n", "/>\n",
"</file>" "</file>"
] ]
attr s v = concat [ s, "='", escape v, "' " ] attr s v = concat [ s, "='", escape v, "' " ]
escape = concatMap escape' escape = concatMap escape'
escape' c = if isOk c then [c] else "&#" ++ show (ord c) ++ ";" escape' c = if isOk c then [c] else "&#" ++ show (ord c) ++ ";"
isOk x = any ($x) [isAsciiUpper, isAsciiLower, isDigit, (`elem` " ./")] isOk x = any ($ x) [isAsciiUpper, isAsciiLower, isDigit, (`elem` " ./")]
severity "error" = "error" severity "error" = "error"
severity "warning" = "warning" severity "warning" = "warning"
severity _ = "info" severity _ = "info"
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)