Paste: grammar for inline llvm

Author: kssreeram
Mode: text
Date: Sat, 21 Aug 2010 19:45:56
Plain Text |
InlineLLVM -> '__llvm__' ZeroPlus(Space) '{' Body '}'

Body -> ZeroPlus(BodyItem)

BodyItem -> Comment
          | '{' Body '}'
          | StringLiteral
          | Not('}')

Comment -> ';' ZeroPlus(Not('\n')) '\n'

StringLiteral -> '"' ZeroPlus(StringChar) '"'

StringChar -> '\' AnyChar
            | Not('"')

New Annotation

Summary:
Author:
Mode:
Body: