]> git.tue.mpg.de Git - lopsub.git/commit
config_file.l: Make the scanner reentrant. v1.0.1
authorAndre Noll <maan@tuebingen.mpg.de>
Wed, 12 Jul 2017 09:23:48 +0000 (11:23 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Tue, 28 Nov 2017 09:55:05 +0000 (10:55 +0100)
commitc14e1e2834de96ef3283c7901ab195c678c9eeaa
tree8ede8d3b17b33351141d538ef46c4a89af4359a8
parent427af673591a006e351dcf76e5957ed67d4e0477
config_file.l: Make the scanner reentrant.

This replaces the three global variables by a structure and modifies
lls_convert_config() to call yylex_init_extra() instead of yy_init()
to make a reference to the structure available to the actions.
config_file.l