130 Commits
Author SHA1 Message Date
Mark Pictor a778c40385 unused parameter 2013-09-15 15:56:24 -04:00
Mark Pictor 6af2650b5b discarded const qualifier 2013-09-15 15:54:27 -04:00
Mark Pictor 60087bed38 comparison between signed and unsigned 2013-09-15 15:37:56 -04:00
Mark Pictor c5f3b1223c LISTdo_n macro - make it possible to nest LISTdo's without -Wshadow warnings 2013-09-15 14:50:30 -04:00
Mark Pictor cac6c3fad6 fix some warnings 2013-09-15 11:46:06 -04:00
Mark Pictor 383c18e9b7 create Type_Repeat for repeat expr's 2013-09-13 20:33:42 -04:00
Mark Pictor a40f9ba7b1 represent EXPRESS reals with double, not float 2013-09-08 17:49:59 -04:00
Mark Pictor 2812c304c0 improve comment for TypeBody->flags.repeat 2013-09-08 17:45:28 -04:00
Mark Pictor b9a920190a eliminate some C++-style comment warnings 2013-09-08 17:44:49 -04:00
Mark Pictor c4bc306e07 Replace LISTadd macro with LISTadd_last
No clue why the macro was used:
 #define LISTadd(list, item) LISTadd_last(list, item)

substitution via
    for i in `grep -lr LISTadd[^_]`; do sed -i -e 's/LISTadd\([^_]\)/LISTadd_last\1/;' $i; done
2013-09-04 21:49:31 -04:00
Mark Pictor 0cccfdd7b1 fix some [-Woverflow] warnings for bit-wide signed ints
bit-wide signed ints are either 0 or -1

eliminates warnings such as
expparse.y:743:5: warning: overflow in implicit constant conversion [-Woverflow]
2013-09-04 21:49:31 -04:00
Mark Pictor 2b783b770f cleanup, make it possible to print libexpress option help from external code 2013-07-20 20:38:28 -04:00
Mark Pictor b6f708a8a7 silence two Wundef warnings 2013-07-20 20:36:17 -04:00
Mark Pictor df14d81d2f remove unused LISTcreate_with() macro
also removes even older function in an `#if 0` block
2013-07-20 20:36:03 -04:00
Mark Pictor 5fa4b17513 replace all references to SCL with SC in CMake files and code 2013-04-14 14:49:53 -04:00
Cliff Yapp 36dc0ddd75 Make a stab at merging in changes from https://github.com/stepcode/stepcode/pull/192, needed for select_lookup_enum.exp 2013-04-01 00:43:15 -04:00
Cliff Yapp 8d737980be Run Astyle to sync file layouts 2013-03-05 22:01:45 -05:00
Cliff Yapp 784363bf5f Make a stab at merging master and brlcad. Not properly working yet, need to remove some files, etc. 2013-03-04 21:57:08 -05:00
Nicholas Reed 6c1f70dc6e apply changes for fedex_python from SCL git 10999e7 and 2dcfaed 2012-07-12 17:51:33 +00:00
Nicholas Reed c073fbecb9 combine multiple definitions of LISTempty 2012-07-11 22:57:25 +00:00
Nicholas Reed 1483ccb839 Address warning about indexing with char type values based on ASCII characters (same problem as in r51103). Unlikely to be a problem in this case so just quell by casting to int. SCL git 512968e and 425a9c3. 2012-06-26 15:56:45 +00:00
Mark Pictor 485cfa85d4 cleanup, and use bool in place of int in one place 2012-06-24 11:22:18 -04:00
Mark Pictor f1470bbd4c add two parser warnings 2012-06-24 11:22:18 -04:00
Mark Pictor 948f2bc0c5 use INT_MAX, rather than SCL's 32-bit MAXINT 2012-06-24 11:22:18 -04:00
Nicholas Reed 205debf1ba add fedex_plus/express memory cleanup function; SCL git f5d0cc5 2012-06-19 15:53:06 +00:00
Nicholas Reed e508fcfa4a remove 'backwards compatiblity' symbols; SCL git 1481950 and a63ac73 2012-06-12 18:53:08 +00:00
Nicholas Reed 6b15b82ff2 Warn about indexing binary types instead of failing. Allows fedex_plus to produce output for ap221 and ap235 express schemas. SCL git 4cd7e7c. 2012-06-12 18:22:26 +00:00
Nicholas Reed 173de43128 put enums in separate table; SCL git c415e49 2012-06-12 17:56:04 +00:00
Nicholas Reed dc78aae8e3 handle indexing on generics; SCL git ed76f0b 2012-06-11 17:12:34 +00:00
Nicholas Reed 163b9ad6c1 warning fixes from SCL git 07ed8f6, 0aa9b5d, and 2b0da3f 2012-06-08 22:37:39 +00:00
Nicholas Reed 8b0faebec8 warning fixes from SCL git 2179c8a and ca4940e 2012-06-07 21:47:51 +00:00
Nicholas Reed eecb7b5484 add dll export symbols to cleditor; SCL git 2e01a01, c771b27, and 0869e41. 2012-06-07 18:29:00 +00:00
Nicholas Reed 89952aec17 Add public domain getopt implementation. SCL git c3f9ff5, dc302ea, and 2d26da7. 2012-06-07 15:40:40 +00:00
Nicholas Reed 389ef8aa2d start adding symbols for MSVC dll import/export; SCL git ba12196 2012-06-06 21:44:33 +00:00
Nicholas Reed e997b59c00 MSVC fixes from SCL git 6226717 and 879f509 2012-06-06 19:21:12 +00:00
tpaviot 2dcfaedae2 Implemeted functions/rules prototypes (to be continued) 2012-05-11 12:08:23 +02:00
Nicholas Reed 1ed73e89e3 Fix and doxify comments, plus misc cleanup. SCL git 3e8c116, 5dc0439, 5d36b32, and 65791a2. 2012-05-10 18:08:22 +00:00
Nicholas Reed bb76855e7b minor string comparison improvements from SCL git 1ad14e1, 70a8382, 7a6ba24, c316f21, and 572e9ad 2012-05-01 18:22:21 +00:00
Nicholas Reed d295c826bf replace shorts with ints along the lines of SCL git d2baec0, but be more judicious in using unsigned versus signed 2012-04-25 17:50:44 +00:00
Nicholas Reed 25e267a8b6 Replaced basic.h's Boolean/True/False with bool/true/false via stdbool.h or else scl_stdbool.h. Includes changes from SCL git e40cbca and 71bd7b2. Honest attempts made to ensure all affected symbols were actually being used as real booleans (as opposed to sdaiEnum.h's trinary Boolean type). 2012-03-29 22:27:28 +00:00
Nicholas Reed 8c8f2a1114 run astyle on SCL sources with misc/astyle.cfg options 2012-03-27 17:07:44 +00:00
Nicholas Reed 196e21bda3 remove step autotools files 2012-03-20 22:49:44 +00:00
davyw f5d0cc59aa Added fedex_plus/express cleanup functions.
* A lot of memory allocated in EXPRESSinitialize was not cleaned up.
  Added EXPRESScleanup function and subfunctions to clean up that memory.
2012-03-13 21:17:49 +01:00
tpaviot 10999e7a48 First draft for a SCL python generator 2012-02-22 17:57:21 +01:00
Mark Pictor 5dc04396ad cleanup and doxify files in include/express 2012-02-02 19:07:54 -05:00
Mark Pictor 3e8c11661d cleanup and doxify src/express 2012-02-02 19:06:50 -05:00
Mark Pictor a63ac738af eliminate "backwards compatibility" types from type.h, remove unused func
Removed macros and typedefs from type.h

Removed unused function from type.c that used those macros, and
 replaced the macros where used in fedex_plus/. For example:
 sed -i -e 's/Class_Integer_Type/integer_/g;' *

The typedefs were not in use anywhere.
2012-02-02 19:01:29 -05:00
Mark Pictor 7a6ba24f81 remove 'typedef char* String', 'STRINGequal' macro 2012-02-02 18:56:54 -05:00
Mark Pictor 1481950409 Remove obsolete fn macros OBJequal OBJfree OBJreference OBJget_data
These macros were defined in object.h as being "for backwards compatibility".
The only code that used them was in #if 0...#endif blocks. Additionally,
OBJfree is mentioned in express/Changes, dated 1992, as being unnecessary. It
seems safe to remove all of this code - it is very very old.
2012-02-02 18:55:13 -05:00
Mark ffdeac2552 Merge pull request #125 from mpictor/review/second-edition-error
Add a warning for unsupported language features, and print it for indexing upon a binary
2012-02-02 12:48:14 -08:00