Subversion Repositories tendra.SVN

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 7
Line 70... Line 70...
70
insert : () -> ( :STRING ) ;
70
insert : () -> ( :STRING ) ;
71
build-insert : () -> ( :STRING ) ;
71
build-insert : () -> ( :STRING ) ;
72
 
72
 
73
base-api ; constant ; define ; else ; endif ; enumerate ; exp ;
73
base-api ; constant ; define ; else ; endif ; enumerate ; exp ;
74
field ; func ; if ; ifdef ; ifndef ; implement ; info ; macro ; nat ;
74
field ; func ; if ; ifdef ; ifndef ; implement ; info ; macro ; nat ;
75
set ; statement ; !subset ; token ; type ; typedef ; use ;
75
set ; statement ; !subset ; token ; type ; typedef ; use ; defmin ;
76
 
76
 
77
arith ; char ; const ; double ; enum ; extern ; float ; int ; long ;
77
arith ; char ; const ; double ; enum ; extern ; float ; int ; long ;
78
lvalue ; scalar ; short ; signed ; struct ; union ; unsigned ; void ;
78
lvalue ; scalar ; short ; signed ; struct ; union ; unsigned ; void ;
79
volatile ; weak ;
79
volatile ; weak ;
80
 
80
 
Line 858... Line 858...
858
    a specification item.
858
    a specification item.
859
*/
859
*/
860
 
860
 
861
<declare_base> : () -> ( :COMMAND ) ;
861
<declare_base> : () -> ( :COMMAND ) ;
862
<declare_define> : ( :IDENTIFIER, :STRING, :STRING ) -> ( :COMMAND ) ;
862
<declare_define> : ( :IDENTIFIER, :STRING, :STRING ) -> ( :COMMAND ) ;
-
 
863
<declare_defmin> : ( :IDENTIFIER, :STRING, :STRING ) -> ( :COMMAND ) ;
863
<declare_enum> : ( :TYPE_KEY, :IDENTIFIER, :COMMAND ) -> ( :COMMAND ) ;
864
<declare_enum> : ( :TYPE_KEY, :IDENTIFIER, :COMMAND ) -> ( :COMMAND ) ;
864
<declare_func> : ( :COMMAND_KEY, :IDENTIFIER, :TYPE ) -> ( :COMMAND ) ;
865
<declare_func> : ( :COMMAND_KEY, :IDENTIFIER, :TYPE ) -> ( :COMMAND ) ;
865
<declare_macro> : ( :IDENTIFIER, :TYPE ) -> ( :COMMAND ) ;
866
<declare_macro> : ( :IDENTIFIER, :TYPE ) -> ( :COMMAND ) ;
866
<declare_promote> : ( :IDENTIFIER, :TYPE ) -> ( :COMMAND ) ;
867
<declare_promote> : ( :IDENTIFIER, :TYPE ) -> ( :COMMAND ) ;
867
<declare_stmt> : ( :IDENTIFIER, :TYPE ) -> ( :COMMAND ) ;
868
<declare_stmt> : ( :IDENTIFIER, :TYPE ) -> ( :COMMAND ) ;
Line 878... Line 879...
878
	c = <declare_base> ;
879
	c = <declare_base> ;
879
    ||
880
    ||
880
	define ; id = identifier ; p = define-param-clause ;
881
	define ; id = identifier ; p = define-param-clause ;
881
	s = constant-value ;
882
	s = constant-value ;
882
	c = <declare_define> ( id, p, s ) ;
883
	c = <declare_define> ( id, p, s ) ;
-
 
884
    ||
-
 
885
	defmin ; id = identifier ; p = define-param-clause ;
-
 
886
	s = constant-value ;
-
 
887
	c = <declare_defmin> ( id, p, s ) ;
883
    ||
888
    ||
884
	enumerate ; tag = enum-command ; id = identifier ; assign ;
889
	enumerate ; tag = enum-command ; id = identifier ; assign ;
885
	open-brace ; e = enumerator-list ; close-brace ;
890
	open-brace ; e = enumerator-list ; close-brace ;
886
	c = <declare_enum> ( tag, id, e ) ;
891
	c = <declare_enum> ( tag, id, e ) ;
887
    ||
892
    ||