Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

Commit e955171

Browse files
authored
Merge pull request #1 from RealAstolfo/master
added linux build script and some bug fixes for the linux build
2 parents 07f4d25 + 46deafe commit e955171

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

4coder_fleury_index.cpp

100644100755
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -604,21 +604,21 @@ F4_Index_ParsePattern(F4_Index_ParseCtx *ctx, char *fmt, ...)
604604

605605
case 'k':
606606
{
607-
Token_Base_Kind kind = va_arg(args, Token_Base_Kind);
607+
Token_Base_Kind kind = (Token_Base_Kind)va_arg(args, int);
608608
Token **output_token = va_arg(args, Token **);
609609
parsed = parsed && F4_Index_RequireTokenKind(ctx, kind, output_token, flags);
610610
}break;
611611

612612
case 'b':
613613
{
614-
i16 kind = va_arg(args, i16);
614+
i16 kind = (i16)va_arg(args, int);
615615
Token **output_token = va_arg(args, Token **);
616616
parsed = parsed && F4_Index_RequireTokenSubKind(ctx, kind, output_token, flags);
617617
}break;
618618

619619
case 'n':
620620
{
621-
F4_Index_NoteKind kind = va_arg(args, F4_Index_NoteKind);
621+
F4_Index_NoteKind kind = (F4_Index_NoteKind)va_arg(args, int);
622622
F4_Index_Note **output_note = va_arg(args, F4_Index_Note **);
623623
Token *token = 0;
624624
parsed = parsed && F4_Index_RequireTokenKind(ctx, TokenBaseKind_Identifier, &token, flags);

build_linux.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
../bin/buildsuper_x64-linux.sh 4coder_fleury.cpp
6+
cp custom_4coder.so ../../custom_4coder.so

0 commit comments

Comments
 (0)