~ubuntu-branches/debian/sid/eclipse-cdt/sid

« back to all changes in this revision

Viewing changes to results/plugins/org.eclipse.cdt.core.lrparser/grammar/c99/C99NoCastExpressionParser.g

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2011-10-06 21:15:04 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20111006211504-8dutmljjih0zikfv
Tags: 8.0.1-1
* New upstream release.
* Split the JNI packages into a separate architecture dependent
  package and made eclipse-cdt architecture independent.
* Install JNI libraries into multiarch aware location
* Bumped Standards-Version to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
-----------------------------------------------------------------------------------
2
 
--
3
 
-----------------------------------------------------------------------------------
4
 
 
5
 
%options la=2
6
 
%options package=org.eclipse.cdt.internal.core.dom.lrparser.c99
7
 
%options template=LRSecondaryParserTemplate.g
8
 
 
9
 
$Import
10
 
        C99Grammar.g
11
 
$DropRules
12
 
 
13
 
        cast_expression
14
 
            ::= '(' type_id ')' cast_expression
15
 
 
16
 
$End
17
 
 
18
 
$Define
19
 
    $ast_class /. IASTExpression ./
20
 
$End
21
 
 
22
 
$Start
23
 
    no_cast_start
24
 
$End
25
 
 
26
 
$Rules 
27
 
 
28
 
        no_cast_start
29
 
            ::= expression
30
 
              | ERROR_TOKEN
31
 
                  /. $Build  consumeEmpty();  $EndBuild ./
32
 
          
33
 
$End
 
 
b'\\ No newline at end of file'