# New Ticket Created by  Jürgen Bömmels 
# Please include the string:  [perl #20918]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=20918 >


Hello,

Yet another imcc segfault when using imcc to run the testsuite:
In string_81.pasm is the following code
        set     S0, "^@"    # <--- This is a ASCII NUL
        if      S0, OK7
        print   "not "
OK7:    print   "ok 7\n"

assemble.pl accept this kind of embedded NUL-character, but imcc segfaults
in mk_const.

Im not sure what to do here. Should embedded NUL characters in String
literals be leagle? Or is it better to disallow it and use "\x00" in
the string literal? IMHO Control Characters should not be allowed in
input files.

bye
boe


Reply via email to