X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/cc8962bdde81b04aa728aef21e53b4a08a0debfe..534497f54ba955ba2173ecb9eb8128b45c745b62:/src/scan-gram.l diff --git a/src/scan-gram.l b/src/scan-gram.l index cf8b220d..665e80de 100644 --- a/src/scan-gram.l +++ b/src/scan-gram.l @@ -512,7 +512,7 @@ eqopt ([[:space:]]*=)? "\"" { STRING_FINISH; loc->start = token_start; - val->chars = last_string; + val->code = last_string; BEGIN INITIAL; return STRING; } @@ -751,7 +751,7 @@ eqopt ([[:space:]]*=)? "%}" { STRING_FINISH; loc->start = code_start; - val->chars = last_string; + val->code = last_string; BEGIN INITIAL; return PROLOGUE; } @@ -770,7 +770,7 @@ eqopt ([[:space:]]*=)? <> { STRING_FINISH; loc->start = code_start; - val->chars = last_string; + val->code = last_string; BEGIN INITIAL; return EPILOGUE; }