2. Missing ";" will result in strange translation errors: Switch aa A '0' ZERO Not aa A nA; Translation Complete! majority --> /home/cheung/teaching/web/355/demo-Bashan/translated.cc Compiling the following file(s) and creating an executable file: /home/cheung/teaching/web/355/demo-Bashan/translated.cc ---> /home/cheung/teaching/web/355/demo-Bashan/edisim Compile failed, see the error output details: translated.cc: In function ???int simnet()???: translated.cc:14:24: error: ???Zeronot??? was not declared in this scope ^^^^^^^^^ Switch ("aa", A, '0', Zeronot); Fix: the translator checks each input line if the line does not end in ";", then: print out: "Warning: line # does not end in ';'; assume circuit continues on next line" This will help student find errors IF they forgot ";" ================ Add a note to the documentation: Warning: do NOT use a Probe component inside a self-defined component ==================================