Show
Ignore:
Timestamp:
10/05/06 14:31:31 (2 years ago)
Author:
audreyt
Message:

* Pugs.Parser: Rename parseNoParenParamList and friends into

parseNoParenArgList as they are actually argument list parsers.

* Also, disallow block literals in listops in conditional expressions:

for say { ... }

is now always parsed as:

for say() { ... }

instead of:

for say({ ... })

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Parser.hs-boot

    r13627 r13926  
    55 
    66parseTerm :: RuleParser Exp 
    7 parseNoParenParamList :: RuleParser (Maybe Exp, [Exp]) 
     7parseNoParenArgList :: RuleParser (Maybe Exp, [Exp]) 
    88 
    99ruleExpression :: RuleParser Exp