Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
bacek committed Jan 29, 2011
1 parent a15d3ab commit 40e7791
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/YAML/Tiny.pm
Expand Up @@ -123,7 +123,7 @@ method read_string($string) {


# Deparse a scalar string to the actual scalar # Deparse a scalar string to the actual scalar
method _read_scalar($string, $indent, @lines) { method _read_scalar($string, $indent, @lines) {
pir::die("!!!"); pir::die("_read_scalar not implemented");
### # Trim trailing whitespace ### # Trim trailing whitespace
### $string =~ s/\s*\z//; ### $string =~ s/\s*\z//;
### ###
Expand Down Expand Up @@ -197,7 +197,7 @@ method _read_scalar($string, $indent, @lines) {


# Parse an array # Parse an array
method _read_array($array, $indent, @lines) { method _read_array($array, $indent, @lines) {
pir::die("!!!"); pir::die("_read_array not implemented");
### while ( @$lines ) { ### while ( @$lines ) {
### # Check for a new document ### # Check for a new document
### if ( $lines->[0] =~ /^(?:---|\.\.\.)/ ) { ### if ( $lines->[0] =~ /^(?:---|\.\.\.)/ ) {
Expand Down Expand Up @@ -272,7 +272,7 @@ method _read_array($array, $indent, @lines) {


# Parse an array # Parse an array
method _read_hash($hash, $indent, @lines) { method _read_hash($hash, $indent, @lines) {
pir::die("!!!"); pir::die("_read_hash not implemented");
### ###
### while ( @$lines ) { ### while ( @$lines ) {
### # Check for a new document ### # Check for a new document
Expand Down

0 comments on commit 40e7791

Please sign in to comment.