2011-09-07 08:35:18 +02:00
|
|
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
|
2014-07-22 01:09:02 +02:00
|
|
|
/*---
|
|
|
|
info: NonEscapeSequence is not EscapeCharacter
|
|
|
|
description: "EscapeCharacter :: SingleEscapeCharacter :: one of b f n r t v"
|
|
|
|
---*/
|
2011-09-07 08:35:18 +02:00
|
|
|
|
|
|
|
//CHECK#bfnrtv
|
|
|
|
if ("b" === "\b") {
|
2011-09-14 07:37:44 +02:00
|
|
|
$ERROR('#b');
|
2011-09-07 08:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if ("f" === "\f") {
|
2011-09-14 07:37:44 +02:00
|
|
|
$ERROR('#f');
|
2011-09-07 08:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if ("n" === "\n") {
|
2011-09-14 07:37:44 +02:00
|
|
|
$ERROR('#n');
|
2011-09-07 08:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if ("r" === "\r") {
|
2011-09-14 07:37:44 +02:00
|
|
|
$ERROR('#r');
|
2011-09-07 08:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if ("t" === "\t") {
|
2011-09-14 07:37:44 +02:00
|
|
|
$ERROR('#t');
|
2011-09-07 08:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if ("v" === "\v") {
|
2011-09-14 07:37:44 +02:00
|
|
|
$ERROR('#v');
|
2011-09-07 08:35:18 +02:00
|
|
|
}
|