ソースを参照

Small parser bugfix (#1805)

Deathbat2190 4 年 前
コミット
2efb5a36ca
1 ファイル変更1 行追加1 行削除
  1. 1 1
      parser/raylib_parser.c

+ 1 - 1
parser/raylib_parser.c

@@ -173,7 +173,7 @@ int main()
                     validStruct = true;
                     break;
                 }
-                else if (buffer[i + j] == ';') 
+                else if (buffer[i + c] == ';')
                 {
                     // Not valid struct: 
                     // i.e typedef struct rAudioBuffer rAudioBuffer; -> Typedef and forward declaration