lol! added support for the ?: trinary operator.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2491 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
451b8ccc79
commit
24f1ed093a
1 changed files with 2 additions and 2 deletions
|
@ -43,12 +43,12 @@ int numCompilerConstants;
|
||||||
|
|
||||||
char *pr_punctuation[] =
|
char *pr_punctuation[] =
|
||||||
// longer symbols must be before a shorter partial match
|
// longer symbols must be before a shorter partial match
|
||||||
{"&&", "||", "<=", ">=","==", "!=", "/=", "*=", "+=", "-=", "(+)", "|=", "(-)", "++", "--", "->", "::", ";", ",", "!", "*", "/", "(", ")", "-", "+", "=", "[", "]", "{", "}", "...", "..", ".", "<<", "<", ">>", ">" , "#" , "@", "&" , "|", "^", ":", NULL};
|
{"&&", "||", "<=", ">=","==", "!=", "/=", "*=", "+=", "-=", "(+)", "|=", "(-)", "++", "--", "->", "::", ";", ",", "!", "*", "/", "(", ")", "-", "+", "=", "[", "]", "{", "}", "...", "..", ".", "<<", "<", ">>", ">" , "?", "#" , "@", "&" , "|", "^", ":", NULL};
|
||||||
|
|
||||||
char *pr_punctuationremap[] = //a nice bit of evilness.
|
char *pr_punctuationremap[] = //a nice bit of evilness.
|
||||||
//|= -> (+)
|
//|= -> (+)
|
||||||
//-> -> .
|
//-> -> .
|
||||||
{"&&", "||", "<=", ">=","==", "!=", "/=", "*=", "+=", "-=", "|=", "|=", "(-)", "++", "--", ".", "::", ";", ",", "!", "*", "/", "(", ")", "-", "+", "=", "[", "]", "{", "}", "...", "..", ".", "<<", "<", ">>", ">" , "#" , "@", "&" , "|", "^", ":", NULL};
|
{"&&", "||", "<=", ">=","==", "!=", "/=", "*=", "+=", "-=", "|=", "|=", "(-)", "++", "--", ".", "::", ";", ",", "!", "*", "/", "(", ")", "-", "+", "=", "[", "]", "{", "}", "...", "..", ".", "<<", "<", ">>", ">" , "?", "#" , "@", "&" , "|", "^", ":", NULL};
|
||||||
|
|
||||||
// simple types. function types are dynamically allocated
|
// simple types. function types are dynamically allocated
|
||||||
QCC_type_t *type_void;// = {ev_void/*, &def_void*/};
|
QCC_type_t *type_void;// = {ev_void/*, &def_void*/};
|
||||||
|
|
Loading…
Reference in a new issue