Changeset 36741d in git


Ignore:
Timestamp:
Apr 29, 1998, 1:25:19 PM (25 years ago)
Author:
Kai Krüger <krueger@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
4e4ebec004ed838283fab29a56acdb42528b0c05
Parents:
388b21643251958ab237e5bd3f6a4e6a734cb6bf
Message:
fixed space/tab around = at version,info


git-svn-id: file:///usr/local/Singular/svn/trunk@1538 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/libparse.l

    r388b21 r36741d  
    33*  Computer Algebra System SINGULAR     *
    44****************************************/
    5 /* $Id: libparse.l,v 1.15 1998-04-28 15:51:47 krueger Exp $ */
     5/* $Id: libparse.l,v 1.16 1998-04-29 11:25:19 krueger Exp $ */
    66#include <stdio.h>
    77#include <string.h>
     
    191191taborspace     [ \t]
    192192tos            ({taborspace}*)
     193eq             (=|{tos}+=|=+{tos}|{tos}+=+{tos})
    193194
    194195/* %start START */
     
    216217           }
    217218
    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}) {
    219220             if ( mode != GET_INFO ) {
    220221               make_version(yytext,1);
     
    303304             yymore();
    304305           }
    305 <header>(info=\")|(version=\")|(version+{tos}+=\")|(version+{tos}+=+{tos}+\")|(version=+{tos}+\") { yyless(0);
     306<header>(info+{eq}+\")|(version+{eq}+\") {
     307             yyless(0);
    306308             *lib_style = NEW_LIBSTYLE;
    307309             BEGIN(INITIAL);
     
    332334             BEGIN(INITIAL);
    333335           }
    334 <help>(info=\")|(version=\")|(version+{tos}+=\")|(version+{tos}+=+{tos}+\")|(version=+{tos}+\") { yyless(0);
     336<help>(info+{eq}+\")|(version+{eq}+\") {
     337             yyless(0);
    335338             *lib_style = NEW_LIBSTYLE;
    336339             BEGIN(INITIAL);
Note: See TracChangeset for help on using the changeset viewer.