From f8edfd22cb45b554a573d2722900196758e9e958 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 10 Dec 2009 09:47:29 +0200 Subject: Scanner-based parsing with support for element erasing Also implement argv_file_scanner which provides support for reading command line arguments from the argv array as well as files specified with command line options. New examples: file. New tests: ctor, erase, file. --- cli/options.cli | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'cli/options.cli') diff --git a/cli/options.cli b/cli/options.cli index b9df64f..afd0f98 100644 --- a/cli/options.cli +++ b/cli/options.cli @@ -3,8 +3,8 @@ // copyright : Copyright (c) 2009 Code Synthesis Tools CC // license : MIT; see accompanying LICENSE file -// NOTE: Make sure you have a working CLI compiler around -// before modifying this file. +// NOTE: Make sure you have a working CLI compiler around before +// modifying this file. // include ; @@ -28,6 +28,13 @@ class options "Generate option value modifiers in addition to accessors." }; + bool --generate-file-scanner + { + "Generate the \c{argv_file_scanner} implementation. This scanner is + capable of reading command line arguments from the \c{argv} array as + well as files specified with command line options." + }; + bool --suppress-inline { "Generate all functions non-inline. By default simple functions are -- cgit v1.1