Edit

Share via


Compiler Error C2130

#line expected a string containing the filename, found 'token'

The optional file name token following #line linenumber must be a string.

The following sample generates C2130:

// C2130.cpp
int main() {
   #line 1000 test   // C2130
   #line 1000 "test"   // OK
}