diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-07-22 07:28:09 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-07-22 07:28:09 -0700 |
commit | bf36536c9fa398161b24668ad1c29f12f86556e8 (patch) | |
tree | 04b6d6632d97c12728ee052c99d8a2a8eb34a14c /parser.y | |
parent | f2d83d19a09f68864209cc1568a59be70a7bfdbc (diff) | |
download | txr-bf36536c9fa398161b24668ad1c29f12f86556e8.tar.gz txr-bf36536c9fa398161b24668ad1c29f12f86556e8.tar.bz2 txr-bf36536c9fa398161b24668ad1c29f12f86556e8.zip |
* configure: Add a check, in the case that we cannot make an
executable, whether this is due to being required to use C99.
For instance, the Solaris environment requires compilation
using the C99 dialect if _XOPEN_SOURCE is set to 600 or higher.
* debug.c: When compiling as C99, we have to obey the special
C99 conventions for instantiating inline functions.
* hash.c: Likewise.
* lib.c: Likewise.
* parser.y: Likewise.
* unwind.c: Likewise.
Diffstat (limited to 'parser.y')
-rw-r--r-- | parser.y | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1013,6 +1013,11 @@ not_a_clause : ALL { $$ = make_expr(all_s, nil, num(lineno)); } %% +/* C99 inline instantiations. */ +#if __STDC_VERSION__ >= 199901L +val rlcp(val to, val from); +#endif + static val sym_helper(wchar_t *lexeme, val meta_allowed) { int leading_at = *lexeme == L'@'; |