From e638323c7a0cbe79c390cef5fdf1a37a640e304c Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 21 Feb 2016 01:49:25 -0500 Subject: Drop mentions of arithmetic stack elements --- (limited to 'parsing') 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 [ '' type '' stack '' [ tokens ] ] ; # tokens = TOKEN { '' 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}") -- cgit v0.9.1