git-svn-id: https://svn.eduke32.com/eduke32@1626 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2010-05-03 01:03:06 +00:00
parent 45d93544a6
commit b2baba827c
3 changed files with 6 additions and 7 deletions

View file

@ -1,5 +1,5 @@
#define WIN32_LEAN_AND_MEAN
#define _WIN32_WINNT 0x0501
#include <windows.h>
#include "rawinput.h"
#include "winlayer.h"

View file

@ -12,7 +12,7 @@
#define DIRECTINPUT_VERSION 0x0700
#define DIRECTDRAW_VERSION 0x0600
#define _WIN32_WINNT 0x0501
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddraw.h>

View file

@ -5662,12 +5662,11 @@ repeatcase:
if (otw == CON_BREAK)
{
C_ReportError(-1);
initprintf("%s:%d: error: duplicate `break'.\n",g_szScriptFileName, g_lineNumber);
g_numCompilerErrors++;
initprintf("%s:%d: warning: duplicate `break'.\n",g_szScriptFileName, g_lineNumber);
g_numCompilerWarnings++;
g_scriptPtr--;
return 0;
}
//Bsprintf(g_szBuf," * (L%d) case Break statement.\n",g_lineNumber);
//AddLog(g_szBuf);
return 1;
}
return 0;