Bug #2191

Generator does not report commandline parsing errors properly

Added by J. Moringen about 9 years ago. Updated about 9 years ago.

Status:ResolvedStart date:03/05/2015
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:User Interface
Target version:0.4

Description

E.g.

./build-generator -D name

does not produce any output.

Associated revisions

Revision 83960753
Added by J. Moringen about 9 years ago

Better processing of -D options in src/commandline-interface/main.lisp

refs #2191

  • src/commandline-interface/main.lisp (parse-overwrite): catch empty
    variable name; allow missing value

Revision 9dfb0f12
Added by J. Moringen about 9 years ago

Better handling of non-deferable errors in src/commandline-interface/main.lisp

fixes #2191

Non-deferable errors are handling using the `abort' restart. However,
the causing condition was not supplied to the restart previously,
causing the program to exit without an error message.

  • src/commandline-interface/main.lisp (main): when using the `abort'
    restart, make sure it is invoked with the causing condition

Revision cc93017f
Added by J. Moringen about 9 years ago

Backport: Better processing of -D options in src/commandline-interface/main.lisp

refs #2191

  • src/commandline-interface/main.lisp (parse-overwrite): catch empty
    variable name; allow missing value

Revision dede7540
Added by J. Moringen about 9 years ago

Backport: Better handling of non-deferable errors in src/commandline-interface/main.lisp

refs #2191

Non-deferable errors are handling using the `abort' restart. However,
the causing condition was not supplied to the restart previously,
causing the program to exit without an error message.

  • src/commandline-interface/main.lisp (main): when using the `abort'
    restart, make sure it is invoked with the causing condition

History

#1 Updated by J. Moringen about 9 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#2 Updated by J. Moringen about 9 years ago

  • Category set to User Interface

Also available in: Atom PDF