Top "Syntax-error" questions

A syntax error occurs when a program does not follow the syntactical rules of the programming language.

syntax 'nullishCoalescingOperator' isn't currently enabled

when I tried to build my app on ios-simulator it says : bundling failed: SyntaxError: /Users/MyName/MyApp/node_modules/react-native/…

ios react-native syntax-error react-native-ios
Syntax error using parse_ini_file() when file's value's contain exclamation points and equal signs

The function below takes the "test-backup.ini" file, parses it and inputs the values into the DB via the update_…

php syntax-error ini
syntax error near unexpected token '(' in C

I'm getting a confusing error message. I'm running MinGW on Windows XP 32-bit. When I attempt to compile the following …

c file-io syntax-error fputs
Python cannot handle numbers string starting with 0. Why?

I just executed the following program on my python interpreter: >>> def mylife(x): ... if x>0: ... print(…

python python-3.x syntax-error
In JavaDB apache derby I dont know what is causing a Error: Syntax error: Encountered ")" at line 30, column 1. SQLState: 42X01

CREATE TABLE "TravelerProfile" ( "idTravelerProfile" int NOT NULL, "AccountID" int NOT NULL, "GivenName" varchar(45) DEFAULT NULL, "FamilyName" varchar(45) DEFAULT NULL, "Title" …

sql syntax-error derby javadb
How to display PHP errors when using Lighttpd and Fast-CGI?

I'm running a Lighttpd webserver using FastCGI and the webserver does not output PHP Parse Errors. My php.ini file …

php syntax-error runtime-error fastcgi lighttpd
Python bug - or my stupidity - EOL while scanning string literal

I cannot see a significant difference between the two following lines. Yet the first parses, and the latter, does not. …

python string syntax-error eol
Ruby rescue syntax error

I have the following line of code that is giving me an error: rescue Timeout::Error => e logs.puts("…

ruby api syntax-error rescue
Select multiple rows using id in SQLite

I am trying to query specific rows from my SQLite database using WHERE conditions on the IDs of the rows …

sqlite syntax-error sqlfiddle
How to pass string with ' ' (timestamp) in prepared statement?

I am trying to execute the following query INSERT INTO hotspot(timestamp) VALUES (timestamp with time zone '2012-10-25 14:00:00 +05:00…

postgresql syntax-error insert-update timestamp-with-timezone