Skip to content

Commit

Permalink
https://github.com/boyter/scc/issues/228
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed Feb 9, 2021
1 parent c1fb6df commit 3f6288b
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 24 deletions.
1 change: 1 addition & 0 deletions LANGUAGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ FORTRAN Modern (f03,f08,f90,f95)
Fragment Shader File (fsh)
Freemarker Template (ftl)
Futhark (fut)
FXML (fxml)
Game Maker Language (gml)
Game Maker Project (yyp)
GDScript (gd)
Expand Down
53 changes: 31 additions & 22 deletions SCC-OUTPUT-REPORT.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
<tbody><tr>
<th>Go</th>
<th>34</th>
<th>8332</th>
<th>8333</th>
<th>1353</th>
<th>361</th>
<th>362</th>
<th>6618</th>
<th>1365</th>
<th>328499</th>
<th>1367</th>
<th>328933</th>
</tr><tr>
<th>Java</th>
<th>24</th>
Expand All @@ -39,12 +39,12 @@
</tr><tr>
<th>Markdown</th>
<th>11</th>
<th>1220</th>
<th>293</th>
<th>1227</th>
<th>296</th>
<th>0</th>
<th>927</th>
<th>931</th>
<th>0</th>
<th>49782</th>
<th>49888</th>
</tr><tr>
<th>Python</th>
<th>9</th>
Expand All @@ -66,12 +66,12 @@
</tr><tr>
<th>License</th>
<th>5</th>
<th>67</th>
<th>55</th>
<th>12</th>
<th>0</th>
<th>55</th>
<th>43</th>
<th>0</th>
<th>3393</th>
<th>3425</th>
</tr><tr>
<th>YAML</th>
<th>4</th>
Expand All @@ -98,7 +98,7 @@
<th>84</th>
<th>780</th>
<th>86</th>
<th>35707</th>
<th>35715</th>
</tr><tr>
<th>JavaServer Pages</th>
<th>2</th>
Expand Down Expand Up @@ -288,6 +288,15 @@
<th>3</th>
<th>1</th>
<th>55</th>
</tr><tr>
<th>FXML</th>
<th>1</th>
<th>9</th>
<th>1</th>
<th>0</th>
<th>8</th>
<th>0</th>
<th>208</th>
</tr><tr>
<th>Flow9</th>
<th>1</th>
Expand Down Expand Up @@ -354,12 +363,12 @@
</tr><tr>
<th>JSON</th>
<th>1</th>
<th>7124</th>
<th>7142</th>
<th>0</th>
<th>0</th>
<th>7124</th>
<th>7142</th>
<th>0</th>
<th>99237</th>
<th>99472</th>
</tr><tr>
<th>Korn Shell</th>
<th>1</th>
Expand Down Expand Up @@ -552,12 +561,12 @@
</tr></tbody>
<tfoot><tr>
<th>Total</th>
<th>165</th>
<th>24857</th>
<th>2850</th>
<th>1601</th>
<th>20406</th>
<th>2284</th>
<th>1750512</th>
<th>166</th>
<th>24880</th>
<th>2854</th>
<th>1602</th>
<th>20424</th>
<th>2286</th>
<th>1751535</th>
</tr></tfoot>
</table></body></html>
9 changes: 9 additions & 0 deletions examples/language/fxml.fxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.control.Label?>

<VBox>
<children>
<Label text="Hello world FXML"/>
</children>
</VBox>
18 changes: 18 additions & 0 deletions languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2187,6 +2187,24 @@
"multi_line": [],
"quotes": []
},
"FXML": {
"extensions": [
"fxml"
],
"line_comment": [],
"multi_line": [
[
"<!--",
"-->"
]
],
"quotes": [
{
"end": "\"",
"start": "\""
}
]
},
"GDScript": {
"complexitychecks": [
"for ",
Expand Down
2 changes: 1 addition & 1 deletion processor/constants.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ else
fi

# Try out specific languages
for i in 'Bosque ' 'Flow9 ' 'Bitbucket Pipeline ' 'Docker ignore ' 'Q# ' 'Futhark ' 'Alloy ' 'Wren ' 'Monkey C ' 'Alchemist ' 'Luna ' 'ignore ' 'XML Schema ' 'Web Services' 'Go ' 'Java ' 'Boo ' 'License ' 'BASH ' 'C Shell ' 'Korn Shell ' 'Makefile ' 'Shell ' 'Zsh ' 'Rakefile ' 'Gemfile ' 'Dockerfile ' 'Yarn ' 'Sieve ' 'F# ' 'Elm ' 'Terraform ' 'Clojure ' 'C# ' 'LLVM IR ' 'HAML '
for i in 'Bosque ' 'Flow9 ' 'Bitbucket Pipeline ' 'Docker ignore ' 'Q# ' 'Futhark ' 'Alloy ' 'Wren ' 'Monkey C ' 'Alchemist ' 'Luna ' 'ignore ' 'XML Schema ' 'Web Services' 'Go ' 'Java ' 'Boo ' 'License ' 'BASH ' 'C Shell ' 'Korn Shell ' 'Makefile ' 'Shell ' 'Zsh ' 'Rakefile ' 'Gemfile ' 'Dockerfile ' 'Yarn ' 'Sieve ' 'F# ' 'Elm ' 'Terraform ' 'Clojure ' 'C# ' 'LLVM IR ' 'HAML ' 'FXML '
do
if ./scc "examples/language/" | grep -q "$i "; then
echo -e "${GREEN}PASSED $i Language Check"
Expand Down

0 comments on commit 3f6288b

Please sign in to comment.