diff options
author | P. J. McDermott <pj@pehjota.net> | 2016-02-21 01:49:25 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2016-02-21 01:49:25 (EST) |
commit | e638323c7a0cbe79c390cef5fdf1a37a640e304c (patch) | |
tree | a71c20463a79c99e9e2734dec4440b47b7bee09f /parsing | |
parent | 84c016a9ceb8742604ccb714de0c7fde6ad50d1b (diff) | |
download | eggshell-e638323c7a0cbe79c390cef5fdf1a37a640e304c.zip eggshell-e638323c7a0cbe79c390cef5fdf1a37a640e304c.tar.gz eggshell-e638323c7a0cbe79c390cef5fdf1a37a640e304c.tar.bz2 |
Drop mentions of arithmetic stack elements
Diffstat (limited to 'parsing')
-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}") |