[libre-riscv-dev] [Bug 280] New: POWER spec parser needs to support fall-through cases

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Sun Apr 5 16:57:26 BST 2020


http://bugs.libre-riscv.org/show_bug.cgi?id=280

            Bug ID: 280
           Summary: POWER spec parser needs to support fall-through cases
           Product: Libre-SOC's first SoC
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: CONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Source Code
          Assignee: lkcl at lkcl.net
          Reporter: lkcl at lkcl.net
                CC: libre-riscv-dev at lists.libre-riscv.org
   NLnet milestone: ---

this is very tricky to get working at the *lexer* level and still support
whitespace indentation.

switch (n)
    case(1): x <- 5
    case(2): # here
    case(3):
        x <- 3
    default:
        x <- 9
print (5)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-riscv-dev mailing list