Uploaded image for project: 'Lucy'
  1. Lucy
  2. LUCY-241

CFC lexer should treat reserved words as special cases of identifier

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.3.3
    • Clownfish
    • None

    Description

      CFC's lexer has a distinct rule for each reserved words, which is unusual.
      The more common technique is to overload the rule for identifiers by checking
      if each word is in a list of reserved words.

      Attachments

        1. start.patch
          2 kB
          Marvin Humphrey

        Activity

          People

            logie Logan J. Bell
            marvin Marvin Humphrey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: