allow NULL (no variable) in lvar section of mrb format; fix #2294

This fix use UINT16_MAX for NULL symbol tag, that means maximum symbol length
is not UINT16_MAX-1.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-05-19 18:39:37 +09:00
parent 91a025b1e6
commit 54c2dcf231
3 changed files with 23 additions and 8 deletions
+2
View File
@@ -94,6 +94,8 @@ struct rite_section_lv_header {
RITE_SECTION_HEADER;
};
#define RITE_LV_NULL_MARK UINT16_MAX
struct rite_binary_footer {
RITE_SECTION_HEADER;
};