mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2025-04-21 12:27:27 +03:00
cameo: fixed processing of omitted file names, documented file name usage
- README: document that file names can contain almost anything - lang.l: reset the scanner state on \n, so that we stop looking for a file name if the file name has simply been omitted
This commit is contained in:
@@ -84,7 +84,8 @@ NUM -?[0-9]+\.?[0-9]*
|
||||
return STRING; }
|
||||
|
||||
[ \t] ;
|
||||
\n lineno++;
|
||||
\n { BEGIN(INITIAL);
|
||||
lineno++; }
|
||||
|
||||
^#\ [0-9]+\ \"[^"]*\"(\ [0-9]+)*\n {
|
||||
lineno = strtol(yytext+2, NULL, 0); }
|
||||
|
||||
Reference in New Issue
Block a user