diff options
-rw-r--r-- | parsing/codegen.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/parsing/codegen.sh b/parsing/codegen.sh index 2b5f904..6c77eb6 100644 --- a/parsing/codegen.sh +++ b/parsing/codegen.sh @@ -91,7 +91,7 @@ codegen_sub() # Production rules: # stack = tokens [ '<SOH>' type '<STX>' stack '<ETX>' [ tokens ] ] ; # tokens = TOKEN { '<RS>' TOKEN } ; -# type = 'C' | 'A' ; +# type = 'C' ; # We need to recurse through this stack to get to all the tokens. # Each element in the stack (an array of tokens) gets run through the codegen to # become text that is inserted into the array below. @@ -117,10 +117,6 @@ parse_stack() array="${array}$(parse_stack)." array="${array%.}" ;; - 'A') - # Arithmetic expansion - sgetc # STX - ;; esac ;; "${ETX}") |