diff options
author | Max <mparisi@stevens.edu> | 2020-09-23 18:13:14 -0400 |
---|---|---|
committer | Max <mparisi@stevens.edu> | 2020-09-23 18:13:14 -0400 |
commit | 18aa136b4afb7391ad495c14e75d12f6e3e06150 (patch) | |
tree | 28631f4e63bee13496895d8df338299f9bf0ecab /tools/postprocess/postprocess.py | |
parent | e43f1d2e0d65ab4cb1feffcaab250060b769dbe0 (diff) |
Learned that '$' is an acceptable character for the assembler and modified postprocess to check for it
Diffstat (limited to 'tools/postprocess/postprocess.py')
-rw-r--r-- | tools/postprocess/postprocess.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/postprocess/postprocess.py b/tools/postprocess/postprocess.py index ab2d912..c45ec16 100644 --- a/tools/postprocess/postprocess.py +++ b/tools/postprocess/postprocess.py @@ -34,12 +34,12 @@ import struct # Substitutions substitutions = ( - ('<', '____esc_lt'), - ('>', '____esc_gt'), - ('@', '____esc_at'), - ('\\', '____esc_bs'), - (',', '____esc_cm'), - ('-', '____esc_hy') + ('<', '$0'), + ('>', '$1'), + ('@', '$2'), + ('\\', '$3'), + (',', '$4'), + ('-', '$5') ) def format(symbol): |