Thu, 20 Oct 2011 14:13:56 +0200
Changed author comments + added signatures for upcomming bfile heuristics
--- a/.cproject Sun Oct 16 12:20:52 2011 +0200 +++ b/.cproject Thu Oct 20 14:13:56 2011 +0200 @@ -51,15 +51,6 @@ <storageModule moduleId="refreshScope" versionNumber="1"> <resource resourceType="PROJECT" workspacePath="/cline"/> </storageModule> - <storageModule moduleId="scannerConfiguration"> - <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> - <scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.mingw.base.1677102573;cdt.managedbuild.toolchain.gnu.mingw.base.1677102573.925482417;cdt.managedbuild.tool.gnu.cpp.compiler.mingw.base.587980711;cdt.managedbuild.tool.gnu.cpp.compiler.input.1604468143"> - <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/> - </scannerConfigBuildInfo> - <scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.mingw.base.1677102573;cdt.managedbuild.toolchain.gnu.mingw.base.1677102573.925482417;cdt.managedbuild.tool.gnu.c.compiler.mingw.base.40840995;cdt.managedbuild.tool.gnu.c.compiler.input.1426829237"> - <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/> - </scannerConfigBuildInfo> - </storageModule> <storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"> <buildTargets> <target name="all" path="" targetID="org.eclipse.cdt.build.MakeTargetBuilder"> @@ -80,4 +71,13 @@ </target> </buildTargets> </storageModule> + <storageModule moduleId="scannerConfiguration"> + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> + <scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.mingw.base.1677102573;cdt.managedbuild.toolchain.gnu.mingw.base.1677102573.925482417;cdt.managedbuild.tool.gnu.cpp.compiler.mingw.base.587980711;cdt.managedbuild.tool.gnu.cpp.compiler.input.1604468143"> + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/> + </scannerConfigBuildInfo> + <scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.mingw.base.1677102573;cdt.managedbuild.toolchain.gnu.mingw.base.1677102573.925482417;cdt.managedbuild.tool.gnu.c.compiler.mingw.base.40840995;cdt.managedbuild.tool.gnu.c.compiler.input.1426829237"> + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/> + </scannerConfigBuildInfo> + </storageModule> </cproject>
--- a/arguments.c Sun Oct 16 12:20:52 2011 +0200 +++ b/arguments.c Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * arguments.c * * Created on: 15.09.2011 - * Author: beckermi + * Author: Mike */ #include "arguments.h"
--- a/arguments.h Sun Oct 16 12:20:52 2011 +0200 +++ b/arguments.h Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * arguments.h * * Created on: 15.09.2011 - * Author: beckermi + * Author: Mike */ #ifndef ARGUMENTS_H_
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bfile_heuristics.c Thu Oct 20 14:13:56 2011 +0200 @@ -0,0 +1,22 @@ +/* + * bfile_heuristics.c + * + * Created on: 20.10.2011 + * Author: Mike + */ + + +#include "bfile_heuristics.h" + +bfile_heuristics *new_bfile_heuristics(int level) { + bfile_heuristics *ret = malloc(sizeof(bfile_heuristics)); + ret->level = level; + memset(ret->ccount, 0, sizeof(int)*256); + return ret; +} + +bool bfile_check(bfile_heuristics *def, int next_char) { + bool ret = false; + + return ret; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bfile_heuristics.h Thu Oct 20 14:13:56 2011 +0200 @@ -0,0 +1,30 @@ +/* + * bfile_heuristics.h + * + * Created on: 20.10.2011 + * Author: Mike + */ + +#ifndef BFILE_HEURISTICS_H_ +#define BFILE_HEURISTICS_H_ + +#include "stdinc.h" +#include "settings.h" + +#ifdef _cplusplus +extern "C" { +#endif + +typedef struct { + int level; + int ccount[256]; +} bfile_heuristics; + +bfile_heuristics *new_bfile_heuristics(int level); +bool bfile_check(bfile_heuristics *def, int next_char); + +#ifdef _cplusplus +} +#endif + +#endif /* BFILE_HEURISTICS_H_ */ \ No newline at end of file
--- a/cline.c Sun Oct 16 12:20:52 2011 +0200 +++ b/cline.c Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * cline.c * * Created on: 23.05.2011 - * Author: beckermi + * Author: Mike */ #include "cline.h"
--- a/cline.h Sun Oct 16 12:20:52 2011 +0200 +++ b/cline.h Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * cline.h * * Created on: 23.05.2011 - * Author: beckermi + * Author: Mike */ #ifndef CLINE_H_
--- a/scanner.c Sun Oct 16 12:20:52 2011 +0200 +++ b/scanner.c Thu Oct 20 14:13:56 2011 +0200 @@ -1,8 +1,8 @@ /* - * functions.c + * scanner.c * * Created on: 23.05.2011 - * Author: beckermi + * Author: Mike */
--- a/scanner.h Sun Oct 16 12:20:52 2011 +0200 +++ b/scanner.h Thu Oct 20 14:13:56 2011 +0200 @@ -1,8 +1,8 @@ /* - * functions.h + * scanner.h * * Created on: 23.05.2011 - * Author: beckermi + * Author: Mike */ #ifndef SCANNER_H_
--- a/settings.c Sun Oct 16 12:20:52 2011 +0200 +++ b/settings.c Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * settings.c * * Created on: 15.09.2011 - * Author: beckermi + * Author: Mike */ #include "settings.h"
--- a/settings.h Sun Oct 16 12:20:52 2011 +0200 +++ b/settings.h Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * settings.h * * Created on: 15.09.2011 - * Author: beckermi + * Author: Mike */ #ifndef SETTINGS_H_
--- a/stdinc.h Sun Oct 16 12:20:52 2011 +0200 +++ b/stdinc.h Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * stdinc.h * * Created on: 15.09.2011 - * Author: beckermi + * Author: Mike */ #ifndef STDINC_H_
--- a/stream.c Sun Oct 16 12:20:52 2011 +0200 +++ b/stream.c Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * stream.c * * Created on: 20.09.2011 - * Author: beckermi + * Author: Mike */ #include "stream.h"
--- a/stream.h Sun Oct 16 12:20:52 2011 +0200 +++ b/stream.h Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * stream.h * * Created on: 20.09.2011 - * Author: beckermi + * Author: Mike */ #ifndef STREAM_H_
--- a/string_list.c Sun Oct 16 12:20:52 2011 +0200 +++ b/string_list.c Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * string_list.c * * Created on: 15.09.2011 - * Author: beckermi + * Author: Mike */ #include "string_list.h"
--- a/string_list.h Sun Oct 16 12:20:52 2011 +0200 +++ b/string_list.h Thu Oct 20 14:13:56 2011 +0200 @@ -2,7 +2,7 @@ * string_list.h * * Created on: 15.09.2011 - * Author: beckermi + * Author: Mike */ #ifndef STRING_LIST_H_