Mercurial > hg > octave-lyh
comparison src/symtab.h @ 7051:405001b6a514
[project @ 2007-10-23 14:26:54 by jwe]
author | jwe |
---|---|
date | Tue, 23 Oct 2007 14:26:55 +0000 |
parents | a1dbe9d80eee |
children | 88417316c1b0 |
comparison
equal
deleted
inserted
replaced
7050:bd56a0609c4f | 7051:405001b6a514 |
---|---|
497 OCTINTERP_API | 497 OCTINTERP_API |
498 symbol_table | 498 symbol_table |
499 { | 499 { |
500 public: | 500 public: |
501 | 501 |
502 symbol_table (unsigned int tab_size = 128, | 502 symbol_table (unsigned int tab_size = 64, |
503 const std::string& nm = std::string ()) | 503 const std::string& nm = std::string ()) |
504 : table_size (tab_size), table (new symbol_record [table_size]), | 504 : table_size (tab_size), table (new symbol_record [table_size]), |
505 table_name (nm) | 505 table_name (nm) |
506 { | 506 { |
507 assert ((tab_size % 2) == 0); | 507 assert ((tab_size % 2) == 0); |