[dylan-lang/opendylan] f7264a: [parser-generator] Fix unrecognized-keyword warnin...

GitHub <[email protected]> Thu, 21 Jan 2016 05:47:44 -0800
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <56a0e1803274c_4ef43ff1313852b8974a5@hookshot-fe3-cp1-prd.iad.github.net.mail>
----==_mimepart_56a0e18032321_4ef43ff1313852b8973e9
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/opendylan
  Commit: f7264a1076385acb553df8a41dbfb52b8d8f0b7f
      https://github.com/dylan-lang/opendylan/commit/f7264a1076385acb553df8a41dbfb52b8d8f0b7f
  Author: Bruce Mitchener <[email protected]>
  Date:   2016-01-21 (Thu, 21 Jan 2016)

  Changed paths:
    M sources/lib/parser-generator/compile.dylan

  Log Message:
  -----------
  [parser-generator] Fix unrecognized-keyword warning.

When running the parser-generator, this warning appears:

    Warning: The function {<sealed-generic-function>:
      compile-grammar-file} was given the unrecognized keyword
      #"terminal-string" in the call with arguments
      {<simple-object-vector>: {<posix-file-locator>: ...},
                         {<posix-file-locator>: ...},
                         {<simple-method>: ???  (<grammar-conflict>) => (#rest)},
                         #"terminal-string", "define constant $%s-token = %d;"}.
    The keywords recognized for this call are {<simple-object-vector>: size 0}.

* sources/lib/parser-generator/compile.dylan
  (compile-grammar-file): Update generic and methods to all take a
   terminal-string keyword parameter. Switch from using apply in
   some methods to just invoking directly with the keyword supplied.
   Also, set a return value of () on each method and the generic.


  Commit: ae3e97e128f2a78d08dc7ccc271111668c782e90
      https://github.com/dylan-lang/opendylan/commit/ae3e97e128f2a78d08dc7ccc271111668c782e90
  Author: Carl Gay <[email protected]>
  Date:   2016-01-21 (Thu, 21 Jan 2016)

  Changed paths:
    M sources/lib/parser-generator/compile.dylan

  Log Message:
  -----------
  Merge pull request #1028 from waywardmonkeys/fix-parser-generator-warning

[parser-generator] Fix unrecognized-keyword warning.


Compare: https://github.com/dylan-lang/opendylan/compare/856e8a5fe41f...ae3e97e128f2
----==_mimepart_56a0e18032321_4ef43ff1313852b8973e9
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter
----==_mimepart_56a0e18032321_4ef43ff1313852b8973e9--