Changeset 28939ac15506b95f59142a06b7d6794a801f8198 for tlate/var.cc
- Timestamp:
- 08/27/10 18:32:04 (21 months ago)
- Children:
- 92c18c14e163e2ab3200ccad6c6c0e6ee5c3e1a6
- Parents:
- 19a2630635324aeed23f74061133ba433a639cd4
- git-committer:
- Antti-Juhani Kaijanaho <antti-juhani@…> (08/27/10 18:32:04)
- Files:
-
- 1 modified
-
tlate/var.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tlate/var.cc
r868b365 r28939ac 1 1 /* This file is part of Alue, the multiprotocol Internet discussion daemon 2 2 3 Copyright © 2009 Antti-Juhani Kaijanaho3 Copyright © 2009, 2010 Antti-Juhani Kaijanaho 4 4 5 5 Alue is free software: you can redistribute it and/or modify it … … 18 18 */ 19 19 20 #include "std_value.hh" 20 21 #include "var.hh" 21 22 … … 32 33 if (!rv || rv->is_missing()) 33 34 { 34 logger::logline ll; 35 ll << pos() 36 << ": access of a missing variable '" << name << "'"; 35 if (name == "_") 36 rv = std_value::singleton; 37 else 38 { 39 logger::logline ll; 40 ll << pos() 41 << ": access of a missing variable '" 42 << name << "'"; 43 } 37 44 } 38 45 return rv;
