diff options
author | jonesc <jonesc@a3e5c962-4219-0410-a828-e124f845ac39> | 2012-01-17 05:24:59 +0000 |
---|---|---|
committer | jonesc <jonesc@a3e5c962-4219-0410-a828-e124f845ac39> | 2012-01-17 05:24:59 +0000 |
commit | 5b077cd62c68fd3be08bc888d4ad2568d87e375e (patch) | |
tree | 64c4f08f54233e3f22376c893a38fa411e9c1f85 /modules/Parser.pm | |
parent | 66a603f159951e2600813df7f2be31744d5c6047 (diff) | |
download | MPC-5b077cd62c68fd3be08bc888d4ad2568d87e375e.tar.gz |
Mon Jan 16 22:01:41 UTC 2012 Chip Jones <jonesc@ociweb.com>
* modules/Creator.pm:
Modifications to support multiprocess MPC.
* modules/Depgen/DependencyEditor.pm:
* modules/Depgen/Driver.pm:
Modified dependency generator to support appending to existing
files and generating dependencies for IDL files.
* modules/Driver.pm:
* modules/Options.pm:
* modules/Parser.pm:
* modules/ProjectCreator.pm:
* modules/TemplateParser.pm:
* modules/WorkspaceCreator.pm:
Modified MPC to generate projects in separate processes.
This experimental feature is enabled with the
command-line option '-workers.' It's behavior can
be modified with the '-workers_dir' and '-workers_port'
directives.
This is a merge of work done in the 'mpc_performance' branch.
Diffstat (limited to 'modules/Parser.pm')
-rw-r--r-- | modules/Parser.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/Parser.pm b/modules/Parser.pm index d722681d..6da79bf7 100644 --- a/modules/Parser.pm +++ b/modules/Parser.pm @@ -149,6 +149,7 @@ sub cached_file_read { $self->{'line_number'} = 0; foreach my $line (@$lines) { ++$self->{'line_number'}; + ## Since we're "reading" a cached file, we must pass undef as the ## file handle to parse_line(). ($status, $error) = $self->parse_line(undef, $line); |