Changeset 36741d in git
- Timestamp:
- Apr 29, 1998, 1:25:19 PM (25 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 4e4ebec004ed838283fab29a56acdb42528b0c05
- Parents:
- 388b21643251958ab237e5bd3f6a4e6a734cb6bf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/libparse.l
r388b21 r36741d 3 3 * Computer Algebra System SINGULAR * 4 4 ****************************************/ 5 /* $Id: libparse.l,v 1.1 5 1998-04-28 15:51:47krueger Exp $ */5 /* $Id: libparse.l,v 1.16 1998-04-29 11:25:19 krueger Exp $ */ 6 6 #include <stdio.h> 7 7 #include <string.h> … … 191 191 taborspace [ \t] 192 192 tos ({taborspace}*) 193 eq (=|{tos}+=|=+{tos}|{tos}+=+{tos}) 193 194 194 195 /* %start START */ … … 216 217 } 217 218 218 (version =+{quote}+{strings}+{quote})|(version+{tos}+=+{quote}+{strings}+{quote})|(version+{tos}+=+{tos}+{quote}+{strings}+{quote})|(version=+{tos}+{quote}+{strings}+{quote}) {219 (version+{eq}+{quote}+{strings}+{quote}) { 219 220 if ( mode != GET_INFO ) { 220 221 make_version(yytext,1); … … 303 304 yymore(); 304 305 } 305 <header>(info=\")|(version=\")|(version+{tos}+=\")|(version+{tos}+=+{tos}+\")|(version=+{tos}+\") { yyless(0); 306 <header>(info+{eq}+\")|(version+{eq}+\") { 307 yyless(0); 306 308 *lib_style = NEW_LIBSTYLE; 307 309 BEGIN(INITIAL); … … 332 334 BEGIN(INITIAL); 333 335 } 334 <help>(info=\")|(version=\")|(version+{tos}+=\")|(version+{tos}+=+{tos}+\")|(version=+{tos}+\") { yyless(0); 336 <help>(info+{eq}+\")|(version+{eq}+\") { 337 yyless(0); 335 338 *lib_style = NEW_LIBSTYLE; 336 339 BEGIN(INITIAL);
Note: See TracChangeset
for help on using the changeset viewer.