- \\([0-3][0-7]{1,2}|[0-7]{0,2}) { str_decode(yytext + 1, 8); }
- \\x[A-Fa-f0-9]{2} { str_decode(yytext + 2, 16); }
- \\u[A-Fa-f0-9]{4} { str_decode(yytext + 2, 16); }
- \\a { str_put('\a'); }
- \\b { str_put('\b'); }
- \\e { str_put('\e'); }
- \\f { str_put('\f'); }
- \\n { str_put('\n'); }
- \\r { str_put('\r'); }
- \\t { str_put('\t'); }
- \\v { str_put('\v'); }
- \\. { str_put(*yytext); }
- [^\\"]+ { while (*yytext) str_put(*yytext++); }
+ \\([0-3][0-7]{1,2}|[0-7]{0,2}) { str_decode(s, yytext + 1, 8); }
+ \\x[A-Fa-f0-9]{2} { str_decode(s, yytext + 2, 16); }
+ \\u[A-Fa-f0-9]{4} { str_decode(s, yytext + 2, 16); }
+ \\a { str_put(s, '\a'); }
+ \\b { str_put(s, '\b'); }
+ \\e { str_put(s, '\e'); }
+ \\f { str_put(s, '\f'); }
+ \\n { str_put(s, '\n'); }
+ \\r { str_put(s, '\r'); }
+ \\t { str_put(s, '\t'); }
+ \\v { str_put(s, '\v'); }
+ \\. { str_put(s, *yytext); }
+ [^\\"]+ { while (*yytext) str_put(s, *yytext++); }