Synopsis - Issue Tracker

Bug140 Editing

Title parsing stdin does not work
Created on 2007-05-05.13:13:56 by blindvt, last changed 2007-05-05.13:22:29 by blindvt.
assigned to priority low
type behavior severity normal
components platform
status new resolution
depends on superseded by
Add Comment:
File
CC List:? blindvt

Messages
Author: blindvt Date: 2007-05-05.13:13:54
$ echo "int i;" | synopsis -v -p C -
Error: CppError: unable to read '/tmp/-'

and

$ echo "int i;" | synopsis -v -p C  ;
# no error, no output

$ echo "int i;" | synopsis -v -p C -o stdin.syn
# no error, creates empty/bogus stdin.syn
# since it should be vaguely identical to:

$ cat in.c 
int i;
$ synopsis -v -p C -o file.syn in.c
$ ls -ln
total 12
-rw-r--r-- 1 1000 1000 1252 2007-05-05 15:12 file.syn
-rw-r--r-- 1 1000 1000    7 2007-05-05 15:10 in.c
-rw-r--r-- 1 1000 1000  170 2007-05-05 15:11 stdin.syn
Author: blindvt Date: 2007-05-05.13:22:27
The '/tmp/-' is actually mine. Need to see how i can translate '-' via boost.filesystem into stdin.

The rest is not my error, though :)
History
Date User Action Args
2007-05-05 13:14:00blindvtcreate
2007-05-05 13:22:31blindvtsetmessages: + msg682