No special handling for math operator tokens.
This commit is contained in:
parent
7a0433aa68
commit
6f82567e41
|
@ -154,9 +154,8 @@ for _ in {0..25}; do deep_nesting="( $deep_nesting )"; done
|
|||
check "DeepNesting" "$deep_nesting" "$deep_nesting" # Above 25 it starts to stack-smash
|
||||
|
||||
title "Spacing"
|
||||
check "DenseSpc" "(+1093 102852)" "103945"
|
||||
check "WideSpac" "( + 1093 102852 )" "103945"
|
||||
check "VWidwSpc" " ( + 1093 102852 ) " "103945"
|
||||
check "Wide Spacing" "( + 1093 102852 )" "103945"
|
||||
check "Very Wide Spacing" " ( + 1093 102852 ) " "103945"
|
||||
|
||||
title "DemoFunctions"
|
||||
check "Squaring" "(sq 9876)" "97535376"
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
*/
|
||||
|
||||
// Is the char a standalone token?
|
||||
static const char singleTokens[] = "()+-*/='?.";
|
||||
static const char singleTokens[] = "()'?.";
|
||||
|
||||
int isSingle(const char c)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue