Minor changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
fe3d99c296
commit
ef4acfb954
1 changed files with 4 additions and 4 deletions
|
|
@ -421,14 +421,14 @@ file_include_type : INCLUDE { $$ = new_node("includefile",$1.filename,$1.line);
|
|||
|
||||
/* -- Modifier directives -- */
|
||||
|
||||
modifier_directive : READONLY { $$ = new_node("readonlydirective",$1.filename, $1.line); }
|
||||
| READWRITE { $$ = new_node("readwritedirective",$1.filename,$1.line); }
|
||||
modifier_directive : READONLY { $$ = new_node("readonly",$1.filename, $1.line); }
|
||||
| READWRITE { $$ = new_node("readwrite",$1.filename,$1.line); }
|
||||
| NAME LPAREN idstring RPAREN {
|
||||
$$ = new_node("namedirective",$3.filename,$3.line);
|
||||
$$ = new_node("name",$3.filename,$3.line);
|
||||
Setattr($$,ATTR_NAME,$3.text);
|
||||
}
|
||||
| NEW {
|
||||
$$ = new_node("newdirective",$1.filename,$1.line);
|
||||
$$ = new_node("new",$1.filename,$1.line);
|
||||
}
|
||||
;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue