Changeset 17271

Show
Ignore:
Timestamp:
08/17/07 21:43:21 (15 months ago)
Author:
lwall
Message:

[Parser.hs] Allow for $¢ as a valid parameter variable

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Parser.hs

    r17044 r17271  
    19971997        else do twigil <- ruleTwigil 
    19981998                name   <- case twigil of 
    1999                     ""  -> many1 wordAny <|> string "/" 
     1999                    ""  -> many1 wordAny <|> string "/" <|> string "¢" 
    20002000                    "!" -> many wordAny 
    20012001                    _   -> many1 wordAny 
     
    20092009verbatimVarNameString = verbatimRule "variable name" $ tryChoice 
    20102010    [ string "$/"   -- match object 
     2011    , string "$µ"   -- proposed match object 
    20112012    , ruleMatchPos 
    20122013    , ruleMatchNamed 
    20132014    , regularVarName 
    20142015    , string "$!"   -- error variable 
     2016    , string "$¢"   -- match "continuation" variable 
    20152017    ] 
    20162018