Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/parser/src/syntax_kind/generated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub enum SyntaxKind {
Tombstone,
#[doc(hidden)]
Eof,
#[doc(hiddent)]
#[doc(hidden)]
Unknown,
Bang,
Hash,
Expand Down
2 changes: 1 addition & 1 deletion crates/syntax/snapshots/parser/ok/do_block.snap
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ SourceFile@0..102
LParen@67..68 "("
MultivalExpr@68..82
Literal@68..82
Str@68..82 "\'hello person\'"
Str@68..82 "'hello person'"
RParen@82..83 ")"
Whitespace@83..88 "\n "
EndKw@88..91 "end"
Expand Down
2 changes: 1 addition & 1 deletion crates/syntax/snapshots/parser/ok/if_else_stmt.snap
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ SourceFile@0..83
LParen@62..63 "("
MultivalExpr@63..77
Literal@63..77
Str@63..77 "\'yes was true\'"
Str@63..77 "'yes was true'"
RParen@77..78 ")"
Whitespace@78..79 "\n"
EndKw@79..82 "end"
Expand Down
6 changes: 3 additions & 3 deletions crates/syntax/snapshots/parser/ok/if_elseif_stmt.snap
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ SourceFile@0..166
LParen@80..81 "("
MultivalExpr@81..95
Literal@81..95
Str@81..95 "\'yes was true\'"
Str@81..95 "'yes was true'"
RParen@95..96 ")"
Whitespace@96..97 "\n"
ElseIfBranch@97..161
Expand Down Expand Up @@ -102,7 +102,7 @@ SourceFile@0..166
LParen@127..128 "("
MultivalExpr@128..139
Literal@128..139
Str@128..139 "\'yes was 2\'"
Str@128..139 "'yes was 2'"
RParen@139..140 ")"
Whitespace@140..141 "\n"
ElseBranch@141..161
Expand All @@ -119,7 +119,7 @@ SourceFile@0..166
LParen@153..154 "("
MultivalExpr@154..160
Literal@154..160
Str@154..160 "\'else\'"
Str@154..160 "'else'"
RParen@160..161 ")"
Whitespace@161..162 "\n"
EndKw@162..165 "end"
Expand Down
4 changes: 2 additions & 2 deletions crates/syntax/snapshots/parser/ok/index_expr.snap
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ SourceFile@0..191
LParen@134..135 "("
MultivalExpr@135..142
Literal@135..142
Str@135..142 "\'hello\'"
Str@135..142 "'hello'"
RParen@142..143 ")"
Whitespace@143..144 " "
EndKw@144..147 "end"
Expand Down Expand Up @@ -142,7 +142,7 @@ SourceFile@0..191
Index@179..188
LBracket@179..180 "["
Literal@180..187
Str@180..187 "\'index\'"
Str@180..187 "'index'"
RBracket@187..188 "]"
CallArgs@188..190
ArgList@188..190
Expand Down
4 changes: 2 additions & 2 deletions crates/syntax/snapshots/parser/ok/method_call.snap
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ SourceFile@0..101
LParen@84..85 "("
MultivalExpr@85..99
Literal@85..91
Str@85..91 "\'asdf\'"
Str@85..91 "'asdf'"
Comma@91..92 ","
Whitespace@92..93 " "
Literal@93..99
Str@93..99 "\'asdf\'"
Str@93..99 "'asdf'"
RParen@99..100 ")"
Whitespace@100..101 "\n"

Expand Down
2 changes: 1 addition & 1 deletion crates/syntax/snapshots/parser/ok/numeric_for_stmt.snap
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ SourceFile@0..82
LParen@27..28 "("
MultivalExpr@28..41
Literal@28..41
Str@28..41 "\'hello world\'"
Str@28..41 "'hello world'"
RParen@41..42 ")"
Whitespace@42..43 "\n"
EndKw@43..46 "end"
Expand Down
2 changes: 1 addition & 1 deletion crates/syntax/src/lua_lexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use parser::Token;

macro_rules! done {
($expr:expr) => {
return LexResult::new($expr, None);
return LexResult::new($expr, None)
};
}

Expand Down