(ident, type, text, errors)
| 8913 | } |
| 8914 | |
| 8915 | function checkIdentifier (ident, type, text, errors) { |
| 8916 | if (typeof ident === 'string' && !identRE.test(ident)) { |
| 8917 | errors.push(("invalid " + type + " \"" + ident + "\" in expression: " + (text.trim()))); |
| 8918 | } |
| 8919 | } |
| 8920 | |
| 8921 | function checkExpression (exp, text, errors) { |
| 8922 | try { |