Follow-up Comment #4, bug #16864 (project freeciv):

> But are comments still allowed in scripts used by "read"
> command or as commandline parameter -r?
> They must be.

As discussed in comment #1 only the possibility to add comments to commands
from the command line should be removed. In scripts, comments should still be
possible. As the original patch does not provide this, here is an updated
version ... (Thanks for the reminder)

test.serv:

help #comment


old behaviour:

> help #comment
Welcome - this is the introductory help text for the Freeciv server.
[...]
> read test
2: Loading script file: ./test.serv
Welcome - this is the introductory help text for the Freeciv server.
[...]


new behaviour:

> help #comment
No match for help argument '#comment'.
> read test
2: Loading script file: ./test.serv
Welcome - this is the introductory help text for the Freeciv server.
[...]



(file #10963)
    _______________________________________________________

Additional Item Attachment:

File name: 20101028-2-trunk-fix-console-output-handle_stdin_input_real.patch
Size:4 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?16864>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to