+/* @file\r
+ This file is used to be the grammar file of ECC tool\r
+\r
+ Copyright (c) 2009 - 2010, Intel Corporation\r
+ All rights reserved. This program and the accompanying materials\r
+ are licensed and made available under the terms and conditions of the BSD License\r
+ which accompanies this distribution. The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php\r
+\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+*/\r
\r
grammar C;\r
options {\r
k=2;\r
}\r
\r
+@lexer::header{\r
+## @file\r
+# The file defines the Lexer for C source files.\r
+#\r
+# THIS FILE IS AUTO-GENENERATED. PLEASE DON NOT MODIFY THIS FILE.\r
+# This file is generated by running:\r
+# java org.antlr.Tool C.g\r
+#\r
+# Copyright (c) 2009 - 2010, Intel Corporation All rights reserved.\r
+#\r
+# This program and the accompanying materials are licensed and made available\r
+# under the terms and conditions of the BSD License which accompanies this\r
+# distribution. The full text of the license may be found at:\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+##\r
+}\r
+\r
@header {\r
- import CodeFragment\r
- import FileProfile\r
+## @file\r
+# The file defines the parser for C source files.\r
+#\r
+# THIS FILE IS AUTO-GENENERATED. PLEASE DON NOT MODIFY THIS FILE.\r
+# This file is generated by running:\r
+# java org.antlr.Tool C.g\r
+#\r
+# Copyright (c) 2009 - 2010, Intel Corporation All rights reserved.\r
+#\r
+# This program and the accompanying materials are licensed and made available\r
+# under the terms and conditions of the BSD License which accompanies this\r
+# distribution. The full text of the license may be found at:\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+##\r
+\r
+import CodeFragment\r
+import FileProfile\r
}\r
\r
@members {\r
| 'EFIAPI'\r
| 'EFI_BOOTSERVICE'\r
| 'EFI_RUNTIMESERVICE'\r
+ | 'PACKED'\r
;\r
\r
declarator\r