diff options
-rw-r--r-- | gentoobrowse-api/service/unpackPqTextArray.ll | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/gentoobrowse-api/service/unpackPqTextArray.ll b/gentoobrowse-api/service/unpackPqTextArray.ll index 9c53157..e4b0ccd 100644 --- a/gentoobrowse-api/service/unpackPqTextArray.ll +++ b/gentoobrowse-api/service/unpackPqTextArray.ll @@ -49,17 +49,7 @@ char [^"] BEGIN(AFTER); } <QUOTED>{esc} { - switch (*(YYText() + 1)) { - case '"': - list.back().push_back('"'); - break; - case '\\': - list.back().push_back('\\'); - break; - case 'n': - list.back().push_back('\n'); - break; - } + list.back().push_back(*(YYText() + 1)); } <QUOTED>{char} { list.back().append(YYText()); |