Mark Pictor
bc5533bda8
test for, and use, nullptr if we have it
2015-08-03 21:37:28 -04:00
Mark Pictor
17b41da525
add std::chrono test, if available use in thread test
2015-07-26 22:22:44 -04:00
Anton Shabalin
1054952e1e
Patch for MSVC2013 compilation
2015-01-26 19:04:28 -05:00
Mark Pictor
6bac26d3c7
add index to struct Variable_, fix some whitespace
2014-12-26 13:34:37 -05:00
Christopher Horler
65d3937e72
add simple sort to Linked_List implementation
2014-06-08 20:44:50 +01:00
Cliff Yapp
10fb7419b5
More whitespace and case tweaks
2014-03-01 11:53:30 -05:00
Cliff Yapp
44e02c957a
whitespace changes
2014-03-01 11:53:30 -05:00
Cliff Yapp
c0e74a9eef
Add CMake footer comment to CMake files
2014-02-28 22:06:09 -05:00
Mark Pictor
2cd5d494f9
move keywords from express.[ch] to exp_kw.[ch]
2014-02-28 22:02:03 -05:00
Mark Pictor
6092c9b29f
move some functions from express.[ch] to info.[ch]
2014-02-28 22:02:03 -05:00
Mark Pictor
0b16a413f7
use 'const char *' for filename
2014-02-28 21:55:43 -05:00
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