Actually generate an ast_call for __builtin_pow for the ** operator, otherwise the...
authorDale Weiler <killfieldengine@gmail.com>
Thu, 7 Mar 2013 23:05:40 +0000 (23:05 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Thu, 7 Mar 2013 23:05:40 +0000 (23:05 +0000)
commit12340a6bd077a5ff3454fe48913cfadb661f52cc
treea2bf2daa15024a12c2709321a678d1c8b440fde7
parent0367a6175d1cf265bec9cdc4a8a8d80f81a7e2ef
Actually generate an ast_call for __builtin_pow for the ** operator, otherwise the operator yeilds a ast_function, making "a ** b" not work, but since it's a function, allows **(a, b). Also added tests for exponentiation operator.
parser.c
tests/exponentiation.qc [new file with mode: 0644]
tests/exponentiation.tmpl [new file with mode: 0644]