Skip to content

Commit

Permalink
bypass tokenizer to allow keyword names
Browse files Browse the repository at this point in the history
  • Loading branch information
plobsing committed Dec 20, 2010
1 parent 5b04966 commit 36721fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/winxed-compiler.dual
Expand Up @@ -30,7 +30,7 @@ ometa WinxedParser <: Parser {
toks = token*:ts spaces end -> ts,
token :tt = tok:t ?(t[0] == tt) -> t[1],
name = "name",
name = spaces nameTok:t -> t[1],
expr = orExpr:e ( "?" expr:t ":" expr:f -> [#condExpr, e, t, f]
| "=" expr:rhs -> [#set, e, rhs]
Expand Down

0 comments on commit 36721fd

Please sign in to comment.