ref: e5820312d40697259089c56afebce291c52706d9
parent: f710f21ad879d5a8acea318cebc13abd97666edf
author: ISSOtm <[email protected]>
date: Fri Dec 6 21:46:59 EST 2019
Document actual behavior of empty entries in `db` and co
--- a/src/asm/asmy.y
+++ b/src/asm/asmy.y
@@ -906,7 +906,7 @@
db : T_POP_DB constlist_8bit_entry comma constlist_8bit {
if (nListCountEmpty > 0) {
- warning(WARNING_EMPTY_ENTRY, "Empty entry in list of 8-bit elements (treated as 0).");
+ warning(WARNING_EMPTY_ENTRY, "Empty entry in list of 8-bit elements (treated as padding).");
}
}
| T_POP_DB constlist_8bit_entry
@@ -914,7 +914,7 @@
dw : T_POP_DW constlist_16bit_entry comma constlist_16bit {
if (nListCountEmpty > 0) {
- warning(WARNING_EMPTY_ENTRY, "Empty entry in list of 16-bit elements (treated as 0).");
+ warning(WARNING_EMPTY_ENTRY, "Empty entry in list of 16-bit elements (treated as padding).");
}
}
| T_POP_DW constlist_16bit_entry
@@ -922,7 +922,7 @@
dl : T_POP_DL constlist_32bit_entry comma constlist_32bit {
if (nListCountEmpty > 0) {
- warning(WARNING_EMPTY_ENTRY, "Empty entry in list of 32-bit elements (treated as 0).");
+ warning(WARNING_EMPTY_ENTRY, "Empty entry in list of 32-bit elements (treated as padding).");
}
}
| T_POP_DL constlist_32bit_entry