130 Commits
Author SHA1 Message Date
Christopher Sean Morrison c06a398cad use __inline__ instead of inline for c89 compilation 2012-02-02 17:06:21 +00:00
Mark Pictor 4cd7e7c806 Add a warning for unsupported language features, and print it for indexing upon a binary 2012-01-26 20:11:59 -05:00
Mark Pictor c415e49894 put enums in separate table 2012-01-17 20:38:31 -05:00
davyw c0c423c625 Added support for cmake 'Borland Makefiles' generator.
* Added __BORLAND__ flag to a number of places in the code.
* Added BORLAND specific stuff to CMakeLists.txt files.
2012-01-04 23:12:46 +01:00
davyw 555a574eef Added support for cmake 'Borland Makefiles'.
* Added BORLAND target to several CMakeLists.txt.
  (MSVC and BORLAND require similar behaviour for imports/exports)
* Added __BORLAND__ ifdefs where needed.
2012-01-04 23:12:45 +01:00
Nicholas Reed 8377dbb6ee remove old debug header 2011-12-30 19:55:18 +00:00
Nicholas Reed e2b4034cca initial build of step express parser using perplex scanner 2011-12-21 22:52:20 +00:00
Mark Pictor ed76f0b625 handle indexing on GENERICs 2011-12-18 19:34:14 -05:00
davyw 0aa9b5dd97 Removed SCL_EXPRESS_EXPORT flag for EXPRESSgetopt_options[].
* Since EXPRESSgetopt_options[] is locally defined for each usage (fedex.c and fedex_main.c)
  it should not be exported from express lib.
* This also removes 3 warnings in MSVC.
2011-12-12 15:00:17 +01:00
davyw ca4940e6e9 Removes several times warning C4018 in MSVC.
* Removes signed/unsigned mismatch warning.
2011-12-12 15:00:02 +01:00
Mark Pictor 388901d20c run astyle on all files. changed args to catch more files (src/*.h) 2011-12-07 19:03:07 -05:00
davyw 90dc1d6592 Fixed check-express linkage for MSVC.
* Added SCL_EXPRESS_EXPORT flag for yydebug,yydbg_upper_limit,yydbg_lower_limit and yydbg_verbose
* Added xgetopt.cc for check-express/MSVC.
* Added inithook for check-express/MSVC?
* Used set_target_properties COMPILE_DEFINITIONS in stead of add_definitions
  for SCL_EXPRESS_EXPORTS/SCL_EXPRESS_IMPORTS.
2011-12-07 18:57:51 -05:00
davyw 2e01a01bf5 Updated scl_export.h include references.
* Moved around some includes of scl_export.h
2011-12-07 18:57:50 -05:00
davyw c3f9ff563f Made fedex_plus MSVC compatible.
* Selected correct PROTO define for __MSVC__.
* Renamed static function min to minimum to prevent conflict in MSVC.
* Added condition __MSVC__ when __attribute( ( unused ) ) was used.
* Added {} in classes.c to prevent local variable definitions which
  are not allowed in MSVC for c files.
* Added xgetopt.cc/xgetopt.h for getopt functionality.
* Added SCL_EXPRESS_DLL_IMPORTS/SCL_EXPPP_DLL_IMPORTS to CMakeLists.txt.
2011-12-07 18:57:50 -05:00
davyw ba12196a88 Added dll import/export scheme for MSVC.
* Added scl_export.h with conditional flags for import/export.
* Added SCL_EXPRESS_EXPORT flag for all global variables in headers.
* Added SCL_EXPRESS_EXPORT flag for all function prototypes in headers.
* Added SCL_EXPRESS_DLL_EXPORTS flag for express CMakeLists.txt
2011-12-07 18:45:42 -05:00
davyw 879f5092b7 Made changes to prevent compiler/linker errors of express.
* Renamed __in to __i in LISTdo_links macro because __in is a reserved macro for MSVC.
* Renamed isascii to __isascii for MSVC.
* Added __MSVC__ to compiler flags and use it.
2011-12-07 18:45:42 -05:00
davyw 71bd7b235a Made non MSVC include files conditional.
* Made unistd.h include conditional by cmake HAVE_UNISTD_H flag.
* Made dirent.h include conditional by cmake HAVE_DIRENT_H flag.
* Made sys/params.h include conditional by cmake HAVE_SYS_PARAMS_H flag.
* Made stdbool.h include conditinal by cmake HAVE_STDBOOL_H flag.
* Added scl_stdbool.h as an alternative for stdbool.h.
* Added xgetopt.cc/xgetopt.h to be included when HAVE_GETOPT flag false.
2011-12-07 18:45:41 -05:00
Nicholas Reed 4dd5d7b527 Developing routine to print parser return object, useful for inferring parser behavior. 2011-10-21 16:57:53 +00:00
Nicholas Reed 1dd850a500 remove references to non-existent headers 2011-10-14 00:30:23 +00:00
Nicholas Reed 5909d1e4fb Removed toggled declarations/definitions in headers. Headers include only declarations, and explicit definitions found in appropriate sources. 2011-10-13 23:54:37 +00:00
Nicholas Reed cf321c3663 replaced conditional variable declarations with explcit ones to simplify building 2011-10-12 19:43:11 +00:00
tpaviot e40cbca927 Replaced Boolean with standard bool wherever possible 2011-08-18 09:41:15 +02:00
tpaviot 425a9c3086 [warning-fix][array-subscript-has-type-char] 2011-08-13 14:01:53 +02:00
Mark Pictor 498710921a Changes due to running Artistic Style code beautifier 2011-08-08 20:06:06 -04:00
Mark Pictor d2baec0a09 Change all short variables to unsigned int (looks like affected variables are always positive) and remove a cast to short 2011-07-16 14:20:34 -04:00
Mark Pictor 7ee097af0c Remove autotools files 2011-07-10 11:41:35 -04:00
indianlarry 3e4d1507a8 yylineno fixed to properly track parser line numbers
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@34193 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:46 -04:00
starseeker 00ec571fa5 OK, one more time with the step include files.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@34020 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:45 -04:00
Keith W. Boman ed51d6e80e yylineno fixed to properly track parser line numbers 2009-04-09 11:53:52 +00:00
Cliff Yapp c4dde7ac8f OK, one more time with the step include files. 2009-03-12 19:39:49 +00:00