cvs commit: hugs98/src input.c

Sigbjorn Finne sof@glass.cse.ogi.edu
Mon, 10 Dec 2001 16:58:58 -0800


sof         2001/12/10 16:58:58 PST

  Modified files:
    src                  input.c 
  Log:
  Changes to support H98's maximal-munch rule for one-line
  comments (Sec 2.3 of the Report), i.e.,
  
    isOneLineComment ('-':'-':xs) =
       all (=='-') (takeWhile isSymbol xs)
  
  As an aside, having comment markup fall under the maximal-munch
  rule is unconventional PL-wise; anyone know of other langs that
  do this? I don't.
  
  Revision  Changes    Path
  1.32      +87 -3     hugs98/src/input.c