Changeset 17271
- Timestamp:
- 08/17/07 21:43:21 (15 months ago)
- Files:
-
- 1 modified
-
src/Pugs/Parser.hs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Parser.hs
r17044 r17271 1997 1997 else do twigil <- ruleTwigil 1998 1998 name <- case twigil of 1999 "" -> many1 wordAny <|> string "/" 1999 "" -> many1 wordAny <|> string "/" <|> string "¢" 2000 2000 "!" -> many wordAny 2001 2001 _ -> many1 wordAny … … 2009 2009 verbatimVarNameString = verbatimRule "variable name" $ tryChoice 2010 2010 [ string "$/" -- match object 2011 , string "$µ" -- proposed match object 2011 2012 , ruleMatchPos 2012 2013 , ruleMatchNamed 2013 2014 , regularVarName 2014 2015 , string "$!" -- error variable 2016 , string "$¢" -- match "continuation" variable 2015 2017 ] 2016 2018
