No special handling for math operator tokens.

This commit is contained in:
Sage Vaillancourt 2022-04-07 14:29:06 -04:00 committed by Sage Vaillancourt
parent 7a0433aa68
commit 6f82567e41
2 changed files with 5 additions and 6 deletions

View File

@ -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 check "DeepNesting" "$deep_nesting" "$deep_nesting" # Above 25 it starts to stack-smash
title "Spacing" title "Spacing"
check "DenseSpc" "(+1093 102852)" "103945" check "Wide Spacing" "( + 1093 102852 )" "103945"
check "WideSpac" "( + 1093 102852 )" "103945" check "Very Wide Spacing" " ( + 1093 102852 ) " "103945"
check "VWidwSpc" " ( + 1093 102852 ) " "103945"
title "DemoFunctions" title "DemoFunctions"
check "Squaring" "(sq 9876)" "97535376" check "Squaring" "(sq 9876)" "97535376"

View File

@ -14,7 +14,7 @@
*/ */
// Is the char a standalone token? // Is the char a standalone token?
static const char singleTokens[] = "()+-*/='?."; static const char singleTokens[] = "()'?.";
int isSingle(const char c) int isSingle(const char c)
{ {