Logo Search packages:      
Sourcecode: pcsc-lite version File versions  Download package

YY_BUFFER_STATE tp_scan_string ( yyconst char *  yystr  ) 

Setup the input buffer state to scan a string. The next call to tplex() will scan from a copy of str.

Parameters:
yystr a NUL-terminated string to scan
Returns:
the newly allocated buffer state object.
Note:
If you want to scan bytes that may contain NUL values, then use tp_scan_bytes() instead.

Definition at line 1564 of file tokenparser.c.

References tp_scan_bytes().

{
    
      return tp_scan_bytes(yystr,strlen(yystr) );
}


Generated by  Doxygen 1.6.0   Back to index