diff options
author | Michael Forney <mforney@mforney.org> | 2021-04-14 14:57:01 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2021-05-02 11:56:52 -0700 |
commit | ab3187e9d02a9e4c3395c28858ac179d1fc5787b (patch) | |
tree | 9365a19767b35e00bfe2e9cfcf5e82fd113f4895 /test/hello.qbe | |
parent | 197fc75ab9850402b47d79da2e6cde47c8deb7d4 (diff) |
expr: Include NUL-terminator in string expression data
This will facilitate the support of wide-string literals.
Based on patch from Nihal Jere.
Diffstat (limited to 'test/hello.qbe')
-rw-r--r-- | test/hello.qbe | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hello.qbe b/test/hello.qbe index 3e695ab..1826315 100644 --- a/test/hello.qbe +++ b/test/hello.qbe @@ -1,4 +1,4 @@ -data $.Lstring.2 = align 1 { b "hello", z 1, } +data $.Lstring.2 = align 1 { b "hello\000", } export function w $main() { @start.1 |