Skip to content
Browse files

Oops, Redim [Preserve] and Erase are in VBScript.

  • Loading branch information...
1 parent a02401e commit bfa7cfa8ad32bd284142959854e5990e1d1867d0 @matthewd committed Nov 21, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/rasp/parser.citrus
View
3 lib/rasp/parser.citrus
@@ -204,6 +204,7 @@ grammar Rasp::Parser
| `class` | `function` | `sub` | `property` | `get` | `set` | `let`
| `imp` | `eqv` | `xor` | `or` | `and` | `not` | `is` | `mod`
| `new` | `const` | `dim` | `call` | `exit` | `option` | `randomize`
+ | `redim` | `preserve` | `erase`
# Things you might think are reserved words, but actually aren't:
# `in`, `to`, `step`
@@ -212,8 +213,6 @@ grammar Rasp::Parser
# Reserved by spec, though unused in the language. Most likely, a
# reserved word in VB proper.
`typeof`
- | `redim` | `preserve`
- | `erase`
end
rule expression
(lhs:eqv_expr list:(SP op:`imp` SP rhs:eqv_expr

0 comments on commit bfa7cfa

Please sign in to comment.
Something went wrong with that request. Please try again.