jiaweizhang / assimulator

Assembler and simulator for ECE350 custom assembly
GNU General Public License v3.0
3 stars 4 forks source link

is this necessary during pseudoinstruction expansion? #51

Closed jiaweizhang closed 8 years ago

jiaweizhang commented 8 years ago
if (pseudoInstructionGrammar.regex.length() == 0) {
                // if empty regex match, simply add new instructions
                for (String newInstruction : pseudoInstructionGrammar.results) {
                    Line newLine = new Line();
                    newLine.line = l.line;
                    newLine.text = newInstruction;
                    expandedPseudoInstructions.add(newLine);
                }
                continue;
            }
jiaweizhang commented 8 years ago

removed