Skip to content

Commit a413e1b

Browse files
committed
Add support for single line comments of the form
1 parent 20dc6ab commit a413e1b

File tree

12 files changed

+1532
-7
lines changed

12 files changed

+1532
-7
lines changed

esy.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"install": [
3333
["esy-installer", "reason.install"],
3434
["esy-installer", "rtop.install"]
35-
]
35+
],
36+
"buildsInSource": "_build"
3637
}
3738
}

formatTest/unit_tests/expected_output/basicStructures.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ let x = arr^[0] = 1;
146146
*============================================================================
147147
*/;
148148

149-
let (/\/) = (+); /* // is not a comment */
149+
let (/++) = (+); /* // is not a comment */
150150

151151
let something =
152152
if (self.ext.logSuccess) {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// file with just a single line comment

0 commit comments

Comments
 (0)