diff options
Diffstat (limited to 'nasmlib/nctype.c')
-rw-r--r-- | nasmlib/nctype.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/nasmlib/nctype.c b/nasmlib/nctype.c index 657e4e74..b04f9d19 100644 --- a/nasmlib/nctype.c +++ b/nasmlib/nctype.c @@ -96,13 +96,16 @@ static void ctype_tab_init(void) nasm_ctype_tab[i] = ct; } - nasm_ctype_tab['-'] |= NCT_MINUS; - nasm_ctype_tab['$'] |= NCT_DOLLAR|NCT_ID; - nasm_ctype_tab['_'] |= NCT_UNDER|NCT_ID|NCT_IDSTART; - nasm_ctype_tab['.'] |= NCT_ID|NCT_IDSTART; - nasm_ctype_tab['@'] |= NCT_ID|NCT_IDSTART; - nasm_ctype_tab['#'] |= NCT_ID; - nasm_ctype_tab['~'] |= NCT_ID; + nasm_ctype_tab['-'] |= NCT_MINUS; + nasm_ctype_tab['$'] |= NCT_DOLLAR|NCT_ID; + nasm_ctype_tab['_'] |= NCT_UNDER|NCT_ID|NCT_IDSTART; + nasm_ctype_tab['.'] |= NCT_ID|NCT_IDSTART; + nasm_ctype_tab['@'] |= NCT_ID|NCT_IDSTART; + nasm_ctype_tab['#'] |= NCT_ID; + nasm_ctype_tab['~'] |= NCT_ID; + nasm_ctype_tab['\''] |= NCT_QUOTE; + nasm_ctype_tab['\"'] |= NCT_QUOTE; + nasm_ctype_tab['`'] |= NCT_QUOTE; } void nasm_ctype_init(void) |