Changeset 2171
- Timestamp:
- 07/03/08 09:02:48 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ProjectFortress/src/com/sun/fortress/parser/Compilation.rats
r2141 r2171 109 109 else 110 110 yyValue = new Component(span, true, a2, a3, a4, a5); 111 }112 / <ErrorProduction3>113 (native w)? component w APIName (w Imports w semicolon?)? w114 Exports w semicolon? (w Decls w semicolon?)? w115 { yyValue = syntaxError(createSpan(yyStart,yyCount),116 "The \"end\" keyword is missing from a component definition.");117 111 }; 118 112 … … 131 125 Span span = createSpan(yyStart,yyCount); 132 126 yyValue = new Api(span, a1, a2, a3); 133 }134 / <ErrorProduction2>135 api w APIName (w Imports w semicolon?)? (w AbsDecls w semicolon?)? w136 { yyValue = syntaxError(createSpan(yyStart,yyCount),137 "The \"end\" keyword is missing from an API definition.");138 127 }; 139 128
