Commit Graph

7 Commits

Author SHA1 Message Date
aarne
063b242905 printing line numbers in rename and check-grammar error messages 2008-05-31 16:30:36 +00:00
aarne
96721de3e3 added positions to Module record; avoided Module constructor where possible; moved Refresh to Compile/ 2008-05-31 14:40:46 +00:00
bjorn
c7b016c07d Switch to new options handling.
This changes lots of stuff, let me know if it broke anything.

Comments:

- We use a local hacked version of GetOpt that allows long forms of commands to start with a single dash. This breaks other parts of GetOpt. For example, arguments to short options now require a =, and does not allo pace after the option character.

- The new command parsing is currently only used for the program command line, pragmas and the arguments for the 'i' shell command.

- I made a quick hack for the options for showTerm, which currently makes it impossible to use the print style flags for cc. This will be replaced by a facility for parsing command-specific options.

- The verbosity handling is broken in some places. I will fix that in a later patch.
2008-05-28 15:10:36 +00:00
aarne
2488caab69 also lookup in concrete in cc 2008-05-26 15:54:03 +00:00
aarne
6d0adbb2cb started source grammar API ; used it for a first implem. of cc command 2008-05-24 16:13:27 +00:00
bjorn
1408674411 Get rid of the 'f' type parameter to the module types.
This was only ever instantiated with Option, and made it diificult to change the options type.
2008-05-23 08:47:07 +00:00
aarne
2bab9286f1 GF/src is now for 2.9, and the new sources are in src-3.0 - keep it this way until the release of GF 3 2008-05-21 09:26:44 +00:00