#1278 Unused terminal symbol

closed-fixed
5
2007-01-15
2007-01-15
Anonymous
No

In the grammar we can see a terminal ympbol called ELIPSIS but it is actually not generated by the lexical analyser SDCC.lex. I supposed this should be replaced by the terminal symbol VAR_ARGS.

Discussion

  • Borut Ražem

    Borut Ražem - 2007-01-15
    • assigned_to: nobody --> borutr
    • status: open --> closed-fixed
     
  • Borut Ražem

    Borut Ražem - 2007-01-15

    Logged In: YES
    user_id=568035
    Originator: NO

    I think that the proper solution is to remove the line:
    | identifier_list ',' ELIPSIS
    from parameter_identifier_list definition, because ELIPSIS ("...") can't be used as a parameter in function call.

    And this actually never happens since the SDCC lexer never generates the ELIPSIS terminal symbol.

    Fixed in svn revision #4574.

    Borut

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks