[Freeciv-Dev] (PR#40202) RFC: Command parsing

2008-04-10 Thread Madeline Book
http://bugs.freeciv.org/Ticket/Display.html?id=40202 > At the start of handle_stdin_input, parse the inputline into a vector of dynamically allocated strings (or I suppose there could be constants MAX_LEN_ARGUMENT and MAX_NUM_ARGUMENTS for auto arrays...). The first element of the vector gives t

[Freeciv-Dev] (PR#40202) RFC: Command parsing

2008-04-10 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40202 > Related to discussions in a couple of other tickets, I'm creating separate ticket for rewriting command parsing / handling. Command lines should be tokenized before handle_stdin_input() calls command -specific functions. Token lists can th