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. --- tcc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index d61b5b7..c5678a8 100644 --- a/tcc.h +++ b/tcc.h @@ -605,6 +605,7 @@ struct TCCState { int ms_extensions; /* allow nested named struct w/o identifier behave like unnamed */ int old_struct_init_code; /* use old algorithm to init array in struct when there is no '{' used. Liuux 2.4.26 can't find initrd when compiled with a new algorithm */ + int dollars_in_identifiers; /* allows '$' char in indentifiers */ /* warning switches */ int warn_write_strings; -- cgit v1.3.1