use of the yyleng function in ml-lex -


could me out use of yyleng function of ml-lex. how use display length of length of matched text in analyser

(this question answered in comments. converted community wiki answer suit q&a format.)

@jesper.reenberg noted:

you might wan't rephrase question. not clear exact problem is. far know, have yypos , yytext in ml-lex. can take length of yytext length of matched.

see user guide, here or here examples.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -