[BACK]Return to parse.y CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2018 / parse

Diff for /OpenXM_contrib2/asir2018/parse/parse.y between version 1.2 and 1.3

version 1.2, 2019/08/21 00:37:47 version 1.3, 2021/03/11 03:41:13
Line 45 
Line 45 
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  *   *
  * $OpenXM: OpenXM_contrib2/asir2018/parse/parse.y,v 1.1 2018/09/19 05:45:08 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2018/parse/parse.y,v 1.2 2019/08/21 00:37:47 noro Exp $
 */  */
 %{  %{
 #define malloc(x) Risa_GC_malloc(x)  #define malloc(x) Risa_GC_malloc(x)
Line 308  pexpr : STR
Line 308  pexpr : STR
                 | LCASE '{' node '}' '(' node ')'                  | LCASE '{' node '}' '(' node ')'
                         {                          {
                                 searchpf($1,(FUNC *)&val);                                  searchpf($1,(FUNC *)&val);
                                   if ( val == 0 ) {
                                           fprintf(stderr,"%s : no such function.\n",$1);
                       YYABORT;
                   }
                                 $$ = mkfnode(3,I_PFDERIV,val,mkfnode(1,I_LIST,$6),mkfnode(1,I_LIST,$3));                                  $$ = mkfnode(3,I_PFDERIV,val,mkfnode(1,I_LIST,$6),mkfnode(1,I_LIST,$3));
                         }                          }
                 | GETOPT '(' rawstr ')'                  | GETOPT '(' rawstr ')'

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>