11 Commits

Author SHA1 Message Date
Markus F.X.J. Oberhumer
bf2c28b0ce Silence all -Wmissing-field-initializer warnings. 2016-03-06 16:04:32 +01:00
Markus F.X.J. Oberhumer
026671b3d5 Silence some pedantic compilation warnings. 2016-03-06 15:49:46 +01:00
albertodemichelis
b115b84dd1 escape() fix for different SQChar sizes 2016-03-06 22:00:17 +08:00
albertodemichelis
737ea798a8 added \u and \U escape sequence for UTF8,UTF16 or UCS4 characters
the escape character \x is based on sizeof(SQChar)
2016-03-05 19:29:14 +08:00
Markus F.X.J. Oberhumer
ec36322140 Improve const-correctness.
This avoids some pedantic compiler warnings and also removes any
non-shared data from the squirrel core.

Before:

  size --totals sqstdlib/*.o squirrel/*.o
     text    data     bss     dec     hex filename
   261270    3776       0  265046   40b56 (TOTALS)

After:

  size --totals sqstdlib/*.o squirrel/*.o
     text    data     bss     dec     hex filename
   265046       0       0  265046   40b56 (TOTALS)
2016-02-22 22:15:31 +01:00
Markus F.X.J. Oberhumer
0378c7016f Normalize whitespace.
Convert files to Unix EOL mode, de-tabify and strip trailing whitespace.
2016-02-15 20:51:20 +01:00
M1cha
0568675561 switch to CMake build system 2016-02-02 23:25:37 +01:00
Peter Hartley
00f7a65aae Dont allow regexping off the end of a string 2016-01-24 01:15:08 +08:00
mingodad
85e82ea746 Remove set of unused variables.
Add a new matching rule \m that behaves similar to lua %b, it matches a balanced open and close characters ex:
\m() <- will match a balanced pair of ( and )
\m{} <- will match a balanced pair of { and }
See lua %b for more info.
Also include a nut file as example.
2016-01-18 20:32:38 +00:00
mingodad
ff7704fa46 Remove double call to an already saved value. 2016-01-18 18:16:56 +00:00
albertodemichelis
85dfe4b676 first commit 2015-12-22 03:14:21 +08:00