From dcb36587b5950b000f536e374eeed3787937db27 Mon Sep 17 00:00:00 2001 From: seyko Date: Sun, 12 Apr 2015 15:32:03 +0300 Subject: -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. --- libtcc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libtcc.c') diff --git a/libtcc.c b/libtcc.c index bc784e7..e7d04fe 100644 --- a/libtcc.c +++ b/libtcc.c @@ -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 */ -- cgit v1.3.1