diff options
| author | seyko <seyko2@gmail.com> | 2015-04-12 15:32:03 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-04-12 15:32:03 +0300 |
| commit | dcb36587b5950b000f536e374eeed3787937db27 (patch) | |
| tree | 76b2fa0585760edeaa4eef1495daaa9335b5efff /libtcc.c | |
| parent | e8ad336ac5c05dc1bb747b621dbf504fe3d26ca0 (diff) | |
| download | tinycc-dcb36587b5950b000f536e374eeed3787937db27.tar.gz tinycc-dcb36587b5950b000f536e374eeed3787937db27.tar.bz2 | |
-fdollar-in-identifiers switch which enables '$' in identifiers
library Cello: http://libcello.org/ which uses `$` and several
variations of as macros.
There is also RayLanguage which also uses it as a macro for a kind of
ObjC style message passing: https://github.com/kojiba/RayLanguage
This is a patch from Daniel Holden.
Diffstat (limited to 'libtcc.c')
| -rw-r--r-- | libtcc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1482,6 +1482,7 @@ static const FlagDef flag_defs[] = { { offsetof(TCCState, leading_underscore), 0, "leading-underscore" }, { offsetof(TCCState, ms_extensions), 0, "ms-extensions" }, { offsetof(TCCState, old_struct_init_code), 0, "old-struct-init-code" }, + { offsetof(TCCState, dollars_in_identifiers), 0, "dollars-in-identifiers" }, }; /* set/reset a flag */ |
