megaco_flex_scanner
megaco_flex_scanner
Module
megaco_flex_scanner
Module summary
Interface module to the flex scanner linked in driver.
Description
This module contains the public interface to the flex scanner linked in driver. The flex scanner performs the scanning phase of text message decoding.
The flex scanner is written using a tool called flex. In order to be able to compile the flex scanner driver, this tool has to be available.
By default the flex scanner reports line-number of an error. But it can be built without line-number reporting. Instead token number is used. This will speed up the scanning some 5-10%. Use --disable-megaco-flex-scanner-lineno
when configuring the application.
The scanner will, by default, be built as a reentrant scanner if the flex utility supports this (it depends on the version of flex). It