Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
StunxFS committed Nov 29, 2023
1 parent 6f4d572 commit 8874b39
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/src/tools/cmd_fmt.ri
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import rivet/prefs;
import rivet/utils;
import rivet/report;

static fmtDescription := "Formats the given Rivet source files or recursively formats all files in the
var fmtDescription := "Formats the given Rivet source files or recursively formats all files in the
directory, then prints their formatted source to stdout.";

public func cmd_fmt(args: []string) -> ! {
Expand Down
2 changes: 1 addition & 1 deletion lib/rivet/src/fmt/mod.ri
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import ../ast;
import ../utils;
import ../prefs;

static maxLen: []uint := [0, 35, 60, 85, 93, 100];
var maxLen: []uint := [0, 35, 60, 85, 93, 100];

#[boxed]
public struct Formatter {
Expand Down
2 changes: 1 addition & 1 deletion lib/rivet/src/utils/mod.ri
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public const CR: uint8 := 13;

public var mut stderrSupportStyles := styles.stderr_support_styles();

public static tabsTable := [
public var tabsTable := [
"",
"\t",
"\t\t",
Expand Down

0 comments on commit 8874b39

Please sign in to comment.