mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 06:45:37 +03:00
Fixed bug at18003 (Geesu)
Fixed bug p1123149221 (Twilight Suzuka)
This commit is contained in:
parent
81ab33d794
commit
a105bc7402
@ -6,6 +6,7 @@ EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfiguration) = preSolution
|
||||
Debug = Debug
|
||||
Debug32 = Debug32
|
||||
Release = Release
|
||||
Release32 = Release32
|
||||
Release64 = Release64
|
||||
@ -13,6 +14,8 @@ Global
|
||||
GlobalSection(ProjectConfiguration) = postSolution
|
||||
{19B72687-080B-437A-917A-12AEB0031635}.Debug.ActiveCfg = Release|Win32
|
||||
{19B72687-080B-437A-917A-12AEB0031635}.Debug.Build.0 = Release|Win32
|
||||
{19B72687-080B-437A-917A-12AEB0031635}.Debug32.ActiveCfg = Debug32|Win32
|
||||
{19B72687-080B-437A-917A-12AEB0031635}.Debug32.Build.0 = Debug32|Win32
|
||||
{19B72687-080B-437A-917A-12AEB0031635}.Release.ActiveCfg = Release|Win32
|
||||
{19B72687-080B-437A-917A-12AEB0031635}.Release.Build.0 = Release|Win32
|
||||
{19B72687-080B-437A-917A-12AEB0031635}.Release32.ActiveCfg = Release32|Win32
|
||||
|
@ -200,6 +200,55 @@
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug32|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBPC300_EXPORTS;PAWNC_DLL;PAWN_CELL_SIZE=32;NO_MAIN"
|
||||
MinimalRebuild="TRUE"
|
||||
BasicRuntimeChecks="1"
|
||||
RuntimeLibrary="1"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="4"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="$(OutDir)/amxxpc32.dll"
|
||||
LinkIncremental="2"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="$(OutDir)/libpc300.pdb"
|
||||
SubSystem="2"
|
||||
ImportLibrary="$(OutDir)/libpc300.lib"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
@ -247,9 +296,6 @@
|
||||
<File
|
||||
RelativePath=".\scstate.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\scstub.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\scvars.c">
|
||||
</File>
|
||||
|
@ -3178,7 +3178,7 @@ static int newfunc(char *firstname,int firsttag,int fpublic,int fstatic,int stoc
|
||||
if ((sym->usage & (uPROTOTYPED | uREAD))==uREAD && sym->tag!=0) {
|
||||
int curstatus=sc_status;
|
||||
sc_status=statWRITE; /* temporarily set status to WRITE, so the warning isn't blocked */
|
||||
error(208);
|
||||
//error(208); //this is silly, it should be caught the first pass
|
||||
sc_status=curstatus;
|
||||
sc_reparse=TRUE; /* must add another pass to "initial scan" phase */
|
||||
} /* if */
|
||||
|
@ -964,8 +964,12 @@ static int hier14(value *lval1)
|
||||
check_userop(NULL,lval2.tag,lval3.tag,2,&lval3,&lval2.tag);
|
||||
store(&lval3); /* now, store the expression result */
|
||||
} /* if */
|
||||
if (!oper && !matchtag(lval3.tag,lval2.tag,TRUE))
|
||||
error(213); /* tagname mismatch (if "oper", warning already given in plunge2()) */
|
||||
if (!oper) { /* tagname mismatch (if "oper", warning already given in plunge2()) */
|
||||
if (lval3.sym && !matchtag(lval3.sym->tag, lval2.tag, TRUE))
|
||||
error(213);
|
||||
else if (!lval3.sym && !matchtag(lval3.tag, lval2.tag, TRUE))
|
||||
error(213);
|
||||
}
|
||||
if (lval3.sym)
|
||||
markusage(lval3.sym,uWRITTEN);
|
||||
sideeffect=TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user