Commit Graph
123 Commits
Author SHA1 Message Date
Clifford Yapp 7dbda20be0 Remove base library from stepcode
Move specific pieces of logic still in use next to the individual parts
of the code that use them, and eliminate base from the code.
2022-09-26 20:52:17 +01:00
Clifford Yapp 97c3d193a1 sc_cf.h -> config.h
Remove unused sc_cf_cmake.h.in, rename sc_cf.h to the more standard name
"config.h", don't call the generator twice
2022-06-11 17:41:58 +01:00
Clifford Yapp 65e0f704fd Using newer standards, remove sc_stdbool.h 2022-06-11 17:41:13 +01:00
Cliff Yapp 799a51f340 Merge pull request #417 from stepcode/errorget_export
Export ERRORget_warnings_help for MSVC
2021-08-23 16:06:36 -04:00
Clifford Yapp 093e59e5a7 Per suggestion from Sean, go ahead and export all symbols. 2021-08-16 19:41:23 -04:00
Clifford Yapp f05ce582ac Export MEMORYinitialize and FACTORYinitialize for Windows. 2021-08-16 14:15:34 -04:00
Clifford Yapp dcb156f1eb Export ERRORget_warnings_help for MSVC 2021-08-16 13:42:07 -04:00
Clifford Yapp 4f20f391c6 Reverting develop back to commit 548fd82ad7 2021-08-04 16:04:32 -04:00
Cliff Yapp 713b3e67b6 Try exporting MEMORYinitialize and FACTORYinitialize for Windows. 2020-12-09 09:29:59 -05:00
Cliff Yapp 93cb422595 Update formatting with astyle - use K&R 2020-12-09 09:26:27 -05:00
Cliff Yapp 63fe2f69ee Export ERRORget_warnings_help for MSVC 2020-12-02 19:36:42 -05:00
Chris HORLER 5e28f4417a drop PROTO macro (fixup) 2020-07-22 23:16:31 +01:00
Chris HORLER 68d0e7bbb4 rework ERROR handling 2020-07-22 23:15:28 +01:00
Chris HORLER 5edde001e5 add missing declarations required for tests 2020-07-21 17:10:12 +01:00
Chris HORLER d9d6406b0b remove static declaration from some functions to enable tests 2020-07-21 17:10:09 +01:00
Chris HORLER 2cd591be99 move declarations from resolve.c to resolve.h / add missing declaration 2020-07-21 17:05:26 +01:00
Chris HORLER 663414f90d split resolve.c, add a linker seam to facilitate tests 2020-07-21 16:58:45 +01:00
Chris HORLER b58e30c575 move object creation to factory.c to make testing possible 2020-07-21 16:23:36 +01:00
Chris HORLER 4a71f48bc8 move allocator functionality to one module to enable easier testing 2020-07-21 16:17:03 +01:00
Chris HORLER db4f1a68d5 simplify OBJ lookup, compile time initialisation 2020-07-21 16:17:01 +01:00
Chris HORLER 3c785b4451 move all allocator setup to new memory.c (initially just for tests) 2020-07-21 15:53:21 +01:00
Chris HORLER 7e192a40f3 rename everything with MEM prefix to ALLOC prefix and fix includes 2020-07-21 15:50:31 +01:00
Chris HORLER 3ed4ffd302 rename memory.[ch] 2020-07-21 15:29:35 +01:00
Chris HORLER ce88e635f0 cleanup error.h, migrate error.c to use stdarg.h 2019-08-07 20:30:32 +01:00
Chris HORLER e1162b63c4 drop (unused) CONST macro 2019-08-07 20:30:32 +01:00
Chris HORLER e9c28ff7cb drop static_inline macro 2019-08-07 20:30:32 +01:00
Chris HORLER e934fa246c drop the Generic typedef 2019-08-07 20:30:32 +01:00
Chris HORLER f773771f27 drop PROTO macro 2019-08-07 20:30:32 +01:00
Chris HORLER fd77902539 drop macro streq 2019-08-07 20:30:32 +01:00
luzpaz 0eb7aabbb3 Misc. typos
A few user-facing and the rest just code comments
2017-09-15 11:48:28 -04: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
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 061f6d91ea remove get_filename - won't work on windows 2013-10-02 17:15:41 -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 802f424670 unused macro 2013-10-02 17:15:39 -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 a40f9ba7b1 represent EXPRESS reals with double, not float 2013-09-08 17:49:59 -04:00