* opc-itab.scm (compute-syntax): Emit a parse error if an operand
name is empty or invalid -- eg. "$(rs)" instead of "($rs)".
+2001-03-21 Ben Elliston <bje@redhat.com>
+
+ * opc-itab.scm (compute-syntax): Emit a parse error if an operand
+ name is empty or invalid -- eg. "$(rs)" instead of "($rs)".
+
2001-03-20 Patrick Macdonald <patrickm@redhat.com>
* desc-cpu.scm (@arch@_cgen_cpu_open): Correct machine calculation for
(substring syn 2 n)))
"), ")))))
(let ((n (id-len (string-drop1 syn))))
+ (if (= n 0)
+ (parse-error context "empty or invalid operand name" syntax))
(loop (string-drop (1+ n) syn)
(string-append result op-macro " ("
(string-upcase