Allow open/closing curly braces instead of begin/end to define the body of a function

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2451 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-05-03 18:23:48 +00:00
parent 8fba3a0f3a
commit 9b02cc365c
2 changed files with 7 additions and 3 deletions

View File

@@ -147,7 +147,7 @@ HexFPConstant 0x[0-9A-Fa-f]+
{Comment} { /* Ignore comments for now */ }
begin { return BEGINTOK; }
end { return END; }
end { return ENDTOK; }
true { return TRUE; }
false { return FALSE; }
declare { return DECLARE; }