Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
Takin
mag-core
Commits
b1c5fb6b
Verified
Commit
b1c5fb6b
authored
Mar 24, 2021
by
Tobias WEBER
Browse files
cosmetic changes
parent
1340a532
Changes
2
Hide whitespace changes
Inline
Side-by-side
tools/scanbrowser/cli/clilexer.l
View file @
b1c5fb6b
...
@@ -3,6 +3,12 @@
...
@@ -3,6 +3,12 @@
* @author Tobias Weber <tweber@ill.fr>
* @author Tobias Weber <tweber@ill.fr>
* @date 28-may-18
* @date 28-may-18
* @license see 'LICENSE' file
* @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
%option noyywrap
...
@@ -14,10 +20,10 @@
...
@@ -14,10 +20,10 @@
%}
%}
sign
[-+]
sign
[-+]
integer {sign}?[0-9]+
integer
{sign}?[0-9]+
uinteger [0-9]+
uinteger [0-9]+
real
{uinteger}(\.[0-9]*)?|\.[0-9]+
real
{uinteger}(\.[0-9]*)?|\.[0-9]+
%%
%%
...
...
tools/scanbrowser/cli/cliparser.y
View file @
b1c5fb6b
...
@@ -3,6 +3,12 @@
...
@@ -3,6 +3,12 @@
* @author Tobias Weber <tweber@ill.fr>
* @author Tobias Weber <tweber@ill.fr>
* @date 28-may-18
* @date 28-may-18
* @license see 'LICENSE' file
* @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 }
%define parser_class_name { CliParser }
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment