Verified Commit b1c5fb6b authored by Tobias WEBER's avatar Tobias WEBER
Browse files

cosmetic changes

parent 1340a532
......@@ -3,6 +3,12 @@
* @author Tobias Weber <tweber@ill.fr>
* @date 28-may-18
* @license see 'LICENSE' file
* @desc Originally forked from: https://github.com/t-weber/misc/tree/master/parser
*
* References:
* https://github.com/westes/flex/tree/master/examples/manual
* http://www.gnu.org/software/bison/manual/html_node/index.html
* http://git.savannah.gnu.org/cgit/bison.git/tree/examples
*/
%option noyywrap
......@@ -14,10 +20,10 @@
%}
sign [-+]
integer {sign}?[0-9]+
sign [-+]
integer {sign}?[0-9]+
uinteger [0-9]+
real {uinteger}(\.[0-9]*)?|\.[0-9]+
real {uinteger}(\.[0-9]*)?|\.[0-9]+
%%
......
......@@ -3,6 +3,12 @@
* @author Tobias Weber <tweber@ill.fr>
* @date 28-may-18
* @license see 'LICENSE' file
* @desc Originally forked from: https://github.com/t-weber/misc/tree/master/parser
*
* References:
* https://github.com/westes/flex/tree/master/examples/manual
* http://www.gnu.org/software/bison/manual/html_node/index.html
* http://git.savannah.gnu.org/cgit/bison.git/tree/examples
*/
%define parser_class_name { CliParser }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment