mirror of
https://github.com/gnustep/libs-steptalk.git
synced 2025-02-21 02:31:01 +00:00
Change Smalltalk grammar to allow empty list of temporaries.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36662 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
41047a6341
commit
f1d9694b1c
3 changed files with 1006 additions and 667 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-05-26 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* STGrammar.y (temporaries): Allow empty list.
|
||||
* STGrammar.m: Regenerated.
|
||||
|
||||
2013-05-26 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* NSNumber+additions.h:
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -162,8 +162,14 @@ keyword_list: keyword variable_name
|
|||
}
|
||||
;
|
||||
|
||||
temporaries: TK_BAR variable_list TK_BAR
|
||||
{ $$ = $2; }
|
||||
temporaries: TK_BAR TK_BAR
|
||||
{
|
||||
$$ = [NSMutableArray array];
|
||||
}
|
||||
| TK_BAR variable_list TK_BAR
|
||||
{
|
||||
$$ = $2;
|
||||
}
|
||||
;
|
||||
|
||||
variable_list: variable_name
|
||||
|
|
Loading…
Reference in a new issue