~ubuntu-branches/ubuntu/trusty/sblim-sfcb/trusty-proposed

« back to all changes in this revision

Viewing changes to sqlLexer.l

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2009-06-08 12:04:49 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090608120449-byfplk09rqz8rtg6
Tags: 1.3.3-0ubuntu1
* New upstream release.
* debian/rules: Removed rpath hacks, SFCB default build handles that now.
* Removed 1934753-remove-assignment.diff, now upstream.
* Refreshed patch cim-schema-location.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
 
65
65
 
66
66
\n.* {
67
 
        strcpy(linebuf, yytext+1);//save next line      
 
67
        strncpy(linebuf, yytext+1, MAXBUF);//save next line     
 
68
        linebuf[MAXBUF - 1] = '\0'; // make sure the string is null terminated
68
69
        lineno++;
69
70
        tokenpos = 0;
70
71
        yyless(1);//alles außer dem \n zum erneuten Scannen zurückgeben