test/nashorn/script/basic/JDK-8027302.js
author mikael
Thu, 19 Apr 2018 17:13:19 -0700
changeset 49838 b37e0785ce0b
parent 47337 079a87f87518
permissions -rw-r--r--
8202052: Disable warnings when building libawt with VS2017 Reviewed-by: erikj, prr
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
47337
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
     1
/*
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
     2
 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
     4
 * 
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
     7
 * published by the Free Software Foundation.
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
     8
 * 
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    13
 * accompanied this code).
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    14
 * 
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    18
 * 
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    21
 * questions.
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    22
 */
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    23
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    24
/**
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    25
 * JDK-8027302: Identifiers containing unicode escapes are not recognized as reserved words
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    26
 *
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    27
 * @test
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    28
 * @run
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    29
 */
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    30
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    31
// keywords containing escapes
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    32
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    33
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    34
    eval("v\\u0061r i;");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    35
    fail("Expected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    36
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    37
    Assert.assertTrue(e instanceof SyntaxError);
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    38
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    39
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    40
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    41
    eval("\\u0069f (true) ;");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    42
    fail("Expected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    43
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    44
    Assert.assertTrue(e instanceof ReferenceError); // no SyntaxError in ES5
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    45
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    46
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    47
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    48
    eval("if (true) ; \\u0065lse ;");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    49
    fail("Expected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    50
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    51
    Assert.assertTrue(e instanceof ReferenceError); // no SyntaxError in ES5
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    52
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    53
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    54
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    55
    eval("f\\u0075nction x() {}");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    56
    fail("Expected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    57
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    58
    Assert.assertTrue(e instanceof SyntaxError);
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    59
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    60
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    61
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    62
    eval("var f = f\\u0075nction() {}");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    63
    fail("Expected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    64
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    65
    Assert.assertTrue(e instanceof SyntaxError);
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    66
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    67
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    68
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    69
    eval("var o = { f: f\\u0075nction() {}}");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    70
    fail("Expected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    71
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    72
    Assert.assertTrue(e instanceof SyntaxError);
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    73
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    74
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    75
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    76
    eval("var a = [f\\u0075nction() {}]");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    77
    fail("Expected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    78
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    79
    Assert.assertTrue(e instanceof SyntaxError);
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    80
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    81
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    82
// keywords as identifiers, with and without escapes
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    83
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    84
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    85
    eval("function break() {}");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    86
    fail("Expected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    87
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    88
    Assert.assertTrue(e instanceof SyntaxError);
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    89
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    90
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    91
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    92
    eval("function bre\\u0061k() {}");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    93
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    94
    fail("Unexpected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    95
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    96
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    97
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    98
    eval("function f(break) {}");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
    99
    fail("Expected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   100
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   101
    Assert.assertTrue(e instanceof SyntaxError);
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   102
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   103
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   104
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   105
    eval("function f(bre\\u0061k) {}");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   106
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   107
    fail("Unexpected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   108
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   109
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   110
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   111
    eval("var break = 3");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   112
    fail("Expected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   113
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   114
    Assert.assertTrue(e instanceof SyntaxError);
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   115
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   116
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   117
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   118
    eval("'use strict'; var break = 3");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   119
    fail("Expected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   120
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   121
    Assert.assertTrue(e instanceof SyntaxError);
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   122
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   123
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   124
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   125
    eval("var bre\\u0061k = 3");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   126
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   127
    fail("Unexpected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   128
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   129
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   130
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   131
    eval("'use strict'; var bre\\u0061k = 3");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   132
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   133
    fail("Unexpected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   134
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   135
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   136
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   137
    eval("var package = 3");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   138
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   139
    fail("Unexpected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   140
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   141
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   142
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   143
    eval("'use strict'; var package = 3");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   144
    fail("Expected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   145
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   146
    Assert.assertTrue(e instanceof SyntaxError);
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   147
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   148
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   149
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   150
    eval("var p\\u0061ckage = 3");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   151
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   152
    fail("Unexpected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   153
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   154
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   155
try {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   156
    eval("'use strict'; var p\\u0061ckage = 3");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   157
} catch (e) {
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   158
    fail("Unexpected error");
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   159
}
079a87f87518 8027302: Identifiers containing unicode escapes are not recognized as reserved words
hannesw
parents:
diff changeset
   160