Skip to content

Commit e57073d

Browse files
committed
Fix syntax error with VC++
``` error C2059: syntax error: '}' ```
1 parent 6c08f20 commit e57073d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lexstate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ static const char *RBS_TOKENTYPE_NAMES[] = {
9292
"tANNOTATION", /* Annotation */
9393
};
9494

95-
rbs_token_t NullToken = { .type = NullType, .range = {} };
95+
rbs_token_t NullToken = { .type = NullType, .range = {0} };
9696
rbs_position_t NullPosition = { -1, -1, -1, -1 };
9797
rbs_range_t NULL_RANGE = { { -1, -1, -1, -1 }, { -1, -1, -1, -1 } };
9898

0 commit comments

Comments
 (0)