Changeset 1867

Show
Ignore:
Timestamp:
07/07/03 13:36:17 (11 years ago)
Author:
khali
Message:

Better message on tokenization error.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/doc/doc-features.pl

    r1851 r1867  
    150150                } 
    151151                 
    152                 while (shift @tokens ne '{') { die "Tokenization in $chip" unless @tokens } 
     152                while (shift @tokens ne '{') { die "Tokenization failed in $chip" unless @tokens } 
    153153                for (;;) 
    154154                { 
    155                         while (shift @tokens ne '{') { die "Tokenization in $chip" unless @tokens } 
     155                        while (shift @tokens ne '{') { die "Tokenization failed in $chip" unless @tokens } 
    156156                        my $val = shift @tokens; 
    157157                        last if $val eq '0';