Commit Graph
219 Commits
Author SHA1 Message Date
Mark Pictor 14c854e0df add flags.var to parser for procedure params marked VAR 2014-02-24 20:37:32 -05:00
Mark Pictor 626635b644 use Variable.offset to order LOCAL variables
previously, this was only used for attr order in Entity's

these two uses should not conflict
2014-02-20 19:16:03 -05:00
Mark Pictor aea964b568 by default, don't print tail comments (enable with -t) 2013-10-02 21:06:02 -04:00
Mark Pictor 5901f432a9 eliminate ineffective bool exppp_preserve_comments and unused copy_file_chunk() 2013-10-02 17:15:41 -04:00
Mark Pictor 061f6d91ea remove get_filename - won't work on windows 2013-10-02 17:15:41 -04:00
Mark Pictor 7c9f8ab0c2 fix includes, most externs for windows 2013-10-02 17:15:41 -04:00
Mark Pictor 78e2053384 add -c option: one item per line for constants (YMMV!) 2013-10-02 17:15:41 -04:00
Mark Pictor 1ff8cafb00 refactor exppp - split into many small files 2013-10-02 17:15:40 -04:00
Mark Pictor 67705a26c7 -l arg for exppp to set line length 2013-10-02 17:15:40 -04:00
Mark Pictor 68be23e550 allows exppp output filename (or stdout) to be specified with -o
messages on stdout will corrupt a schema being printed to stdout,
so replace all printf( ... ) and fprintf( stdout, ... ) with
fprintf( stderr, ... )
2013-10-02 17:15:40 -04:00
Mark Pictor 85f12e38a9 neaten up exppp.h 2013-10-02 17:15:39 -04:00
Mark Pictor 802f424670 unused macro 2013-10-02 17:15:39 -04:00
Mark Pictor 8da49be459 c++ comments 2013-09-15 19:13:36 -04:00
Mark Pictor cd530f1383 number each error or warning printed by the parser 2013-09-15 17:24:40 -04:00
Mark Pictor a3186c18c2 print warning for extremely small REALs
they may be misinterpreted on some platforms or with some EXPRESS parsers
2013-09-15 17:19:46 -04:00
Mark Pictor 48ed46fe06 eliminate unused functions LISTremove, TYPEget_tagname 2013-09-15 16:02:57 -04:00
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 873056c385 exppp: remove code that creates rmpp script
rmpp was a shell script that removed the pretty-printed schema
it was not cross-platform, and I don't think anyone used it
2013-09-08 17:49:59 -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 9a5ee30054 int -> const int for 3 exppp globals 2013-09-04 21:49:31 -04:00
Cliff Yapp a8d5158b08 Use SC_BINARY_DIR for generating and installing files
If we're using SC_BINARY_DIR to generate these files, need to
 use it for the install rule too - SC_BINARY_DIR doesn't always equal
 CMAKE_BINARY_DIR

git-svn-id: svn://svn.code.sf.net/p/brlcad/code/brlcad/trunk@57348 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2013-09-01 16:53:38 -04:00
Mark 6963fc515d Merge pull request #254 from stepcode/ks/installHdrs
Ks/installHdrs
2013-08-29 17:14:19 -07:00
Kesha Shah 3c66a0018a Installed generated headers 2013-08-29 10:25:52 +05:30
Kesha Shah 6105b5be57 Installed other headers from include/* 2013-08-29 10:25:52 +05:30
Kesha Shah a37b8c3d99 Install headers of src/exppp at correct location 2013-08-29 10:25:52 +05:30
Kesha Shah b855ed0ef1 Install headers of src/express at correct location 2013-08-29 10:25:52 +05:30
Cliff Yapp 83f5d01924 Export the orderedAttrs functions for Windows 2013-08-26 22:19:11 -04:00
Mark Pictor 2babafddc9 create ordered_attrs.*, use in print_attrs
this contains code to print attributes in the proper order for Part 21
2013-07-20 20:38:28 -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 28d636d428 missed two macros during SCL_->SC_ rename 2013-07-20 20:35:36 -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 c230b76c48 Make a try at adding MSVC import/export logic for cllazyfile 2013-04-05 19:07:42 -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
Christopher Sean Morrison e2d0b264ac bah, it's not actually a repo file -- something is writing to the src tree 2012-09-10 02:58:54 +00:00
Christopher Sean Morrison c27d4e3141 ignore/inclue the scl_cf.h.in header template 2012-09-10 02:57:48 +00:00
Nicholas Reed 49e415bcfe rename getopt to sc_getopt and include it as part of base lib; SCL git 1a60cf9 and dd93a96 2012-07-17 16:43:35 +00:00
Nicholas Reed 6c1f70dc6e apply changes for fedex_python from SCL git 10999e7 and 2dcfaed 2012-07-12 17:51:33 +00:00